From 9a42ca71049db83a6264cc026c53763b3a7a0b53 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Thu, 19 Apr 2012 21:45:14 +0300 Subject: Build the redland libs statically for Android They are only linked to libunordf anyway, so we reduce the number of shared libraries a bit this way. --- RepositoryExternal.mk | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'RepositoryExternal.mk') diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk index b695b115b3c2..09ea15cc90f4 100644 --- a/RepositoryExternal.mk +++ b/RepositoryExternal.mk @@ -404,6 +404,8 @@ endef else # !SYSTEM_REDLAND +ifneq ($(OS),ANDROID) + $(eval $(call gb_Helper_register_libraries,PLAINLIBS_OOO, \ rdf \ )) @@ -421,6 +423,26 @@ endif endef +else # ANDROID + +$(eval $(call gb_Helper_register_static_libraries,PLAINLIBS, \ + rdf \ + rasqal \ + raptor \ +)) + +define gb_LinkTarget__use_librdf +$(call gb_LinkTarget_use_static_libraries,$(1),\ + rdf \ + rasqal \ + raptor \ + crypto \ +) + +endef + +endif # ANDROID + endif # SYSTEM_REDLAND -- cgit