summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-20 21:01:00 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-20 21:01:00 +0200
commit314853930f04c109eca20a41604ead49f0516164 (patch)
tree6d3e6c5b73840a3a632f63ba535594f8fb9ade41 /toolkit
parent03aaa99e3e141bbe722fdead969ec9541dcc5d73 (diff)
gb_OBJCXXFLAGS requires -lobjc
...as it causes at least recent Clang trunk (towards 3.7) to emit .cfi_personality 155, ___objc_personality_v0 where __objc_personality_v0 is exported from /usr/lib/libobjc.A.dylib Change-Id: If4ccf15b2c3167185ba50d78ecf4379e02814933
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/Library_tk.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/toolkit/Library_tk.mk b/toolkit/Library_tk.mk
index 31ea037148a8..e5aaad5083e4 100644
--- a/toolkit/Library_tk.mk
+++ b/toolkit/Library_tk.mk
@@ -119,6 +119,9 @@ ifeq ($(OS),MACOSX)
$(eval $(call gb_Library_add_cxxflags,tk,\
$(gb_OBJCXXFLAGS) \
))
+$(eval $(call gb_Library_add_libs,tk,\
+ -lobjc \
+))
endif
ifeq ($(OS),IOS)