summaryrefslogtreecommitdiff
path: root/sax/Library_fastsax.mk
diff options
context:
space:
mode:
Diffstat (limited to 'sax/Library_fastsax.mk')
-rw-r--r--sax/Library_fastsax.mk15
1 files changed, 1 insertions, 14 deletions
diff --git a/sax/Library_fastsax.mk b/sax/Library_fastsax.mk
index 1ee51eeffb92..e45fa5021311 100644
--- a/sax/Library_fastsax.mk
+++ b/sax/Library_fastsax.mk
@@ -55,20 +55,7 @@ $(eval $(call gb_Library_set_defs,fastsax,\
))
endif
-ifeq ($(SYSTEM_EXPAT),YES)
-$(eval $(call gb_Library_set_defs,fastsax,\
- $$(DEFS) \
- -DSYSTEM_EXPAT \
-))
-$(eval $(call gb_Library_add_linked_libs,fastsax,\
- expat \
-))
-else
-$(eval $(call gb_Library_add_linked_static_libs,fastsax,\
- expat_xmlparse \
- expat_xmltok \
-))
-endif
+$(call gb_Library_use_external,fastsax,expat_utf8)
# re-uses xml2utf object from sax.uno lib (see below)
$(eval $(call gb_Library_add_exception_objects,fastsax,\