summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-08-17 20:45:42 +0300
committerTor Lillqvist <tml@iki.fi>2012-08-17 20:46:16 +0300
commiteb946cbf9bf686a31405cf41ac6d1de0488d7bbd (patch)
tree62aa03cec5bdf294336c94c597ab94d9ca52450f
parentd3721e50005a909b55e153372809019ef1e893a6 (diff)
vcl uses the Objective-C library
So we should link to it. Otherwise the basic_scanner unit test in the basic module fails because it uses libvcl but libobjc does not get loaded. Change-Id: I74c2b1e30c7754acca1d6a66472bba9fc1c30da0
-rw-r--r--vcl/Library_vcl.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/vcl/Library_vcl.mk b/vcl/Library_vcl.mk
index e6abe34112e6..4ba8a00849a1 100644
--- a/vcl/Library_vcl.mk
+++ b/vcl/Library_vcl.mk
@@ -87,6 +87,12 @@ $(eval $(call gb_Library_use_libraries,vcl,\
$(gb_STDLIBS) \
))
+ifeq ($(OS),MACOSX)
+$(eval $(call gb_Library_use_libraries,vcl,\
+ objc \
+))
+endif
+
ifneq ($(OS),IOS)
$(eval $(call gb_Library_use_libraries,vcl,\
jvmaccess \