diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2011-03-15 23:30:04 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2011-03-15 23:30:04 -0500 |
commit | 23fc3d8a0205402783a9b9a047919c31aad28af2 (patch) | |
tree | 5b7c099e2698671a0bb2c606993024101caec78d /sw | |
parent | d6e212ab75c766646695d0dd8867e011d7b92e81 (diff) |
tempory hack to get the prober libxml include on SYSTEM_LIBXML=YES build
Diffstat (limited to 'sw')
-rw-r--r-- | sw/Library_sw.mk | 7 |
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 \ )) |