summaryrefslogtreecommitdiff
path: root/sw/Library_sw.mk
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2011-03-15 23:30:04 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2011-03-15 23:30:04 -0500
commit23fc3d8a0205402783a9b9a047919c31aad28af2 (patch)
tree5b7c099e2698671a0bb2c606993024101caec78d /sw/Library_sw.mk
parentd6e212ab75c766646695d0dd8867e011d7b92e81 (diff)
tempory hack to get the prober libxml include on SYSTEM_LIBXML=YES build
Diffstat (limited to 'sw/Library_sw.mk')
-rw-r--r--sw/Library_sw.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/sw/Library_sw.mk b/sw/Library_sw.mk
index d9b0034ac042..1166210fafeb 100644
--- a/sw/Library_sw.mk
+++ b/sw/Library_sw.mk
@@ -33,6 +33,12 @@ $(eval $(call gb_Library_add_precompiled_header,sw,$(SRCDIR)/sw/inc/pch/precompi
$(eval $(call gb_Library_set_componentfile,sw,sw/util/sw))
+ifeq ($(strip $(SYSTEM_LIBXML)),YES)
+_XML_INCLUDE := $$(LIBXML_CFLAGS)
+else
+_XML_INCLUDE :=
+endif
+
$(eval $(call gb_Library_set_include,sw,\
-I$(SRCDIR)/sw/source/core/inc \
-I$(SRCDIR)/sw/source/filter/inc \
@@ -42,6 +48,7 @@ $(eval $(call gb_Library_set_include,sw,\
-I$(WORKDIR)/SdiTarget/sw/sdi \
-I$(WORKDIR)/Misc/sw/ \
$$(INCLUDE) \
+ $(_XML_INCLUDE) \
-I$(OUTDIR)/inc/offuh \
-I$(OUTDIR)/inc \
))