From 23fc3d8a0205402783a9b9a047919c31aad28af2 Mon Sep 17 00:00:00 2001 From: Norbert Thiebaud Date: Tue, 15 Mar 2011 23:30:04 -0500 Subject: tempory hack to get the prober libxml include on SYSTEM_LIBXML=YES build --- sw/Library_sw.mk | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'sw/Library_sw.mk') 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 \ )) -- cgit