summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/CppunitTest_sw_test_filters.mk6
-rw-r--r--sw/Library_swui.mk6
2 files changed, 12 insertions, 0 deletions
diff --git a/sw/CppunitTest_sw_test_filters.mk b/sw/CppunitTest_sw_test_filters.mk
index 1411e7cf1b5f..ba5f1a4542e0 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 cc12e447d025..cf3ab0459e71 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 \