summaryrefslogtreecommitdiffstats
path: root/src/core/qtwebengine.gypi
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>2015-09-22 14:54:03 +0200
committerAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>2015-09-23 13:36:26 +0000
commitf91362e0f004fec118aa38220f07580f0a0d8bb3 (patch)
tree135e2e4926adaa277b645cf23c872b78d0e69c0e /src/core/qtwebengine.gypi
parentccb373c4937777ce4af10918f7412c606cbd56ce (diff)
Link with -ObjC to have ObjC categories working
If we don't link with ObjC, categories as used by Blink will not work and cause crashes at runtime when failing selectors. Change-Id: I81520cc46ed996377b86760232bc99e275e48ff3 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'src/core/qtwebengine.gypi')
-rw-r--r--src/core/qtwebengine.gypi3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/qtwebengine.gypi b/src/core/qtwebengine.gypi
index cca2bd73f..b8af2aca8 100644
--- a/src/core/qtwebengine.gypi
+++ b/src/core/qtwebengine.gypi
@@ -108,5 +108,8 @@
'<(chromium_src_dir)/build/linux/system.gyp:fontconfig',
],
}],
+ ['OS=="mac"', {
+ 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']},
+ }],
],
}