sw/CppunitTest_sw_test_filters.mk |    6 ++++++
 sw/Library_swui.mk                |    6 ++++++
 2 files changed, 12 insertions(+)

New commits:
commit e135afb73903ea16eeeedf49c0f68acb2f719534
Author: Tor Lillqvist <t...@iki.fi>
Date:   Sun Sep 25 15:49:42 2011 +0300

    Fix compilation when SYSTEM_LIBXML headers are not in /usr/include
    
    Need to use LIBXML_CFLAGS, that's what it's for.

diff --git a/sw/CppunitTest_sw_test_filters.mk 
b/sw/CppunitTest_sw_test_filters.mk
index 1411e7c..ba5f1a4 100644
--- a/sw/CppunitTest_sw_test_filters.mk
+++ b/sw/CppunitTest_sw_test_filters.mk
@@ -30,6 +30,12 @@
 
 $(eval $(call gb_CppunitTest_CppunitTest,sw_filters_test))
 
+ifeq ($(SYSTEM_LIBXML),YES)
+$(eval $(call gb_CppunitTest_add_cxxflags,sw_filters_test,\
+       $(LIBXML_CFLAGS) \
+))
+endif
+
 $(eval $(call gb_CppunitTest_add_exception_objects,sw_filters_test, \
     sw/qa/core/filters-test \
 ))
diff --git a/sw/Library_swui.mk b/sw/Library_swui.mk
index cc12e44..cf3ab04 100644
--- a/sw/Library_swui.mk
+++ b/sw/Library_swui.mk
@@ -44,6 +44,12 @@ $(eval $(call gb_Library_add_api,swui,\
        offapi \
 ))
 
+ifeq ($(SYSTEM_LIBXML),YES)
+$(eval $(call gb_Library_add_cxxflags,swui,\
+       $(LIBXML_CFLAGS) \
+))
+endif
+
 $(eval $(call gb_Library_add_linked_libs,swui,\
     comphelper \
     cppu \
_______________________________________________
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to