diff options
Diffstat (limited to 'unoxml/Library_unordf.mk')
-rw-r--r-- | unoxml/Library_unordf.mk | 21 |
1 files changed, 5 insertions, 16 deletions
diff --git a/unoxml/Library_unordf.mk b/unoxml/Library_unordf.mk index 79123c6a359c..4a2ef0f20349 100644 --- a/unoxml/Library_unordf.mk +++ b/unoxml/Library_unordf.mk @@ -43,11 +43,14 @@ $(eval $(call gb_Library_add_linked_libs,unordf,\ cppu \ sal \ stl \ - rdf \ - xslt \ $(gb_STDLIBS) \ )) +$(call gb_Library_use_externals,unordf,\ + librdf \ + libxslt \ +) + $(eval $(call gb_Library_add_exception_objects,unordf,\ unoxml/source/rdf/CBlankNode \ unoxml/source/rdf/CURI \ @@ -56,19 +59,5 @@ $(eval $(call gb_Library_add_exception_objects,unordf,\ unoxml/source/rdf/librdf_services \ )) -ifeq ($(SYSTEM_REDLAND),YES) -$(eval $(call gb_Library_set_cxxflags,unordf,\ - $$(CXXFLAGS) \ - -DSYSTEM_REDLAND $$(REDLAND_CFLAGS) \ -)) -endif - -ifeq ($(SYSTEM_LIBXSLT),YES) -$(eval $(call gb_Library_set_cxxflags,unordf,\ - $$(CXXFLAGS) \ - $$(LIBXSLT_CFLAGS) \ -)) -endif - # vim: set noet sw=4 ts=4: |