summaryrefslogtreecommitdiff
path: root/libcmis
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2011-10-02 02:02:26 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2011-10-02 02:02:26 -0500
commitabb630be54f74e67d92be0ce038bbbadd31c4af8 (patch)
tree189d0305e6271fb471eec51c5daa94c0dbfb8889 /libcmis
parent8c3af9731efe6beb47256f4efd00c5e7b93f7722 (diff)
make libcmis break a bit less on MacOSX.. but still no cigar
Diffstat (limited to 'libcmis')
-rw-r--r--libcmis/ExternalLib_libcmis.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/libcmis/ExternalLib_libcmis.mk b/libcmis/ExternalLib_libcmis.mk
index d7768d2fc9e9..5ba05230cbb4 100644
--- a/libcmis/ExternalLib_libcmis.mk
+++ b/libcmis/ExternalLib_libcmis.mk
@@ -31,4 +31,14 @@ $(eval $(call gb_ExternalLib_ExternalLib,libcmis,autotools))
$(eval $(call gb_ExternalLib_set_src_package,libcmis,51eba115d4b25b5db571e385c1395ac8-libcmis-0.1.0.tar.gz))
$(eval $(call gb_ExternalLib_add_patch,libcmis,libcmis/addincludes.patch))
+ifeq ($(OS),MACOSX)
+
+$(eval $(call gb_ExternalLib_add_conf_arg,libcmis,'DEPS_LIBS="$(shell $MACOS_SDK_PATH/usr/bin/xml2-config --libs) $(shell $MACOS_SDK_PATH/usr/bin/curl-config --libs)"'))
+$(eval $(call gb_ExternalLib_add_conf_arg,libcmis,'DEPS_CFLAGS="$(shell $MACOS_SDK_PATH/usr/bin/xml2-config --cflags) $(shell $MACOS_SDK_PATH/usr/bin/curl-config --cflags)"'))
+$(eval $(call gb_ExternalLib_add_conf_arg,libcmis,'CPPUNIT_LIBS=""'))
+$(eval $(call gb_ExternalLib_add_conf_arg,libcmis,'CPPUNIT_CFLAGS=""'))
+$(eval $(call gb_ExternalLib_add_conf_arg,libcmis,--with-boost=$(OUTDIR)/inc))
+
+endif
+
# vim: set noet sw=4 ts=4: