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.mk17
1 files changed, 9 insertions, 8 deletions
diff --git a/sax/Library_expwrap.mk b/sax/Library_expwrap.mk
index 9710431c2337..39b83b7c4816 100644
--- a/sax/Library_expwrap.mk
+++ b/sax/Library_expwrap.mk
@@ -11,6 +11,10 @@ $(eval $(call gb_Library_Library,expwrap))
$(eval $(call gb_Library_set_componentfile,expwrap,sax/source/expatwrap/expwrap))
+$(eval $(call gb_Library_set_include,expwrap,\
+ -I$(SRCDIR)/sax/inc \
+ $$(INCLUDE) \
+))
$(eval $(call gb_Library_use_sdk_api,expwrap))
@@ -22,20 +26,17 @@ $(eval $(call gb_Library_use_libraries,expwrap,\
cppu \
cppuhelper \
sal \
- sax \
$(gb_STDLIBS) \
))
-
-$(eval $(call gb_Library_set_include,expwrap,\
- -I$(SRCDIR)/sax/inc \
- $$(INCLUDE) \
+$(eval $(call gb_Library_use_static_libraries,expwrap,\
+ sax_shared \
))
$(eval $(call gb_Library_add_exception_objects,expwrap,\
- sax/source/expatwrap/attrlistimpl \
- sax/source/expatwrap/sax_expat \
- sax/source/expatwrap/saxwriter \
+ sax/source/expatwrap/attrlistimpl \
+ sax/source/expatwrap/sax_expat \
+ sax/source/expatwrap/saxwriter \
))
# vim: set noet sw=4 ts=4: