summaryrefslogtreecommitdiff
path: root/sax/Library_expwrap.mk
diff options
context:
space:
mode:
Diffstat (limited to 'sax/Library_expwrap.mk')
-rw-r--r--sax/Library_expwrap.mk21
1 files changed, 14 insertions, 7 deletions
diff --git a/sax/Library_expwrap.mk b/sax/Library_expwrap.mk
index 58afe9ded9f4..9c73522b8212 100644
--- a/sax/Library_expwrap.mk
+++ b/sax/Library_expwrap.mk
@@ -46,25 +46,32 @@ $(eval $(call gb_Library_set_defs,expwrap,\
))
endif
+$(eval $(call gb_Library_add_linked_libs,expwrap,\
+ sal \
+ cppu \
+ cppuhelper \
+ stl \
+ $(gb_STDLIBS) \
+))
+
ifeq ($(SYSTEM_EXPAT),YES)
$(eval $(call gb_Library_set_defs,expwrap,\
$$(DEFS) \
-DSYSTEM_EXPAT \
))
+$(eval $(call gb_Library_add_linked_libs,expwrap,\
+ expat \
+))
else
$(eval $(call gb_Library_set_defs,expwrap,\
$$(DEFS) \
-DXML_UNICODE \
))
-endif
-
$(eval $(call gb_Library_add_linked_libs,expwrap,\
- sal \
- cppu \
- cppuhelper \
- expat \
- $(gb_STDLIBS) \
+ expat_xmlparse \
+ expat_xmltok \
))
+endif
$(eval $(call gb_Library_add_exception_objects,expwrap,\
sax/source/expatwrap/attrlistimpl \