summaryrefslogtreecommitdiff
path: root/liborcus
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2013-04-12 23:36:53 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2013-04-13 01:54:42 -0400
commit9f7ac9aeeb60ed521ef07323e904ffc9eb13b715 (patch)
treeff863e516a8e6dfa35d3712c0e19043fc0e516bb /liborcus
parent1c82446d381baa2a643a073755533a8b4b125710 (diff)
Get cppunit in sc to link with orcus-parser.
Change-Id: I1f53a4f4b9beee501e29149ed88e3ce5d63d9a3c
Diffstat (limited to 'liborcus')
-rw-r--r--liborcus/ExternalProject_liborcus.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/liborcus/ExternalProject_liborcus.mk b/liborcus/ExternalProject_liborcus.mk
index f70a3775a32e..daded4dc1288 100644
--- a/liborcus/ExternalProject_liborcus.mk
+++ b/liborcus/ExternalProject_liborcus.mk
@@ -64,6 +64,8 @@ $(call gb_ExternalProject_get_state_target,liborcus,build) :
$(call gb_ExternalProject_run,build,\
$(if $(filter ANDROID,$(OS)),LIBS='-lgnustl_shared -lm') \
$(if $(filter YES,$(SYSTEM_ZLIB)),LIBS+=-lz) \
+ $(if $(filter MSC,$(COM)),CPPFLAGS+="-DBOOST_ALL_NO_LIB") \
+ $(if $(filter MSC,$(COM)),CXXFLAGS+=$(BOOST_CXXFLAGS)) \
$(if $(filter NO,$(SYSTEM_ZLIB)),CPPFLAGS+=-I$(OUTDIR)/inc/external/zlib) \
$(if $(filter NO,$(SYSTEM_BOOST)),CXXFLAGS+=-I$(WORKDIR)/UnpackedTarball/boost) \
$(if $(filter YES,$(SYSTEM_BOOST)),LDFLAGS=$(BOOST_LDFLAGS)) \