diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2012-04-19 21:45:14 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2012-04-20 00:57:24 +0300 |
commit | 9a42ca71049db83a6264cc026c53763b3a7a0b53 (patch) | |
tree | 6e75e5129bfcaf87ed00a38cacd273e51f0a80d3 /RepositoryExternal.mk | |
parent | 0d1c24e5f63fb31538d708e9842cec121e3e3f98 (diff) |
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.
Diffstat (limited to 'RepositoryExternal.mk')
-rw-r--r-- | RepositoryExternal.mk | 22 |
1 files changed, 22 insertions, 0 deletions
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 |