summaryrefslogtreecommitdiff
path: root/sc/Library_scqahelper.mk
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2013-12-12 16:09:11 +0100
committerKohei Yoshida <kohei.yoshida@collabora.com>2013-12-19 21:39:37 -0500
commitbe7fea04f4c9218dc40bedc95e9496dcac1d1da7 (patch)
tree941546bfdf81f30023dc51fdfa5e63389126f66e /sc/Library_scqahelper.mk
parent63592dae83016ead525276a4bf42dd1fa4766ef3 (diff)
Backport Calc's data stream massive cleanup effort.
Change-Id: Ifbeb7c2d90d87a7cffe9a752f9e8b4910d55fcd9
Diffstat (limited to 'sc/Library_scqahelper.mk')
-rw-r--r--sc/Library_scqahelper.mk8
1 files changed, 6 insertions, 2 deletions
diff --git a/sc/Library_scqahelper.mk b/sc/Library_scqahelper.mk
index 37b1d54f3c02..cbdc99df6441 100644
--- a/sc/Library_scqahelper.mk
+++ b/sc/Library_scqahelper.mk
@@ -18,11 +18,15 @@ $(eval $(call gb_Library_set_include,scqahelper,\
$(eval $(call gb_Library_use_externals,scqahelper, \
boost_headers \
mdds_headers \
- orcus \
- orcus-parser \
cppunit \
))
+ifeq ($(SYSTEM_LIBORCUS),YES)
+$(eval $(call gb_Library_use_externals,scqahelper,orcus))
+else
+$(eval $(call gb_Library_use_externals,scqahelper,orcus-parser))
+endif
+
$(eval $(call gb_Library_add_defs,scqahelper,\
-DSCQAHELPER_DLLIMPLEMENTATION \
))