Skip to content

Commit f91362e

Browse files
committed
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 <[email protected]>
1 parent ccb373c commit f91362e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/core/qtwebengine.gypi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,5 +108,8 @@
108108
'<(chromium_src_dir)/build/linux/system.gyp:fontconfig',
109109
],
110110
}],
111+
['OS=="mac"', {
112+
'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']},
113+
}],
111114
],
112115
}

0 commit comments

Comments
 (0)