diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2012-06-06 22:57:56 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2012-06-07 21:54:17 +0300 |
commit | bd4d371178f863d09098c3549dc73713423dc560 (patch) | |
tree | 9717ca8e21bbdceb786dd78a50522144e9261589 /RepositoryExternal.mk | |
parent | dead code: unused Biff virtuals (diff) | |
download | core-bd4d371178f863d09098c3549dc73713423dc560.tar.gz core-bd4d371178f863d09098c3549dc73713423dc560.zip |
Build lcms2 statically for Android, too.
A quick way to avoid the problem with its name ending with ".so.2"
which the Android app machinery doesn't like. Plus, one less shared
library...
Change-Id: I102e29dd13d1be1a134be8c09459259fe8fbe2e1
Diffstat (limited to 'RepositoryExternal.mk')
-rw-r--r-- | RepositoryExternal.mk | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk index 7f91d77c2ba4..323e5bc2e6c5 100644 --- a/RepositoryExternal.mk +++ b/RepositoryExternal.mk @@ -945,6 +945,21 @@ endef else # !SYSTEM_LCMS2 +ifeq ($(OS),ANDROID) + +$(eval $(call gb_Helper_register_static_libraries,PLAINLIBS, \ + lcms2 \ +)) + +define gb_LinkTarget__use_lcms2 +$(call gb_LinkTarget_use_static_libraries,$(1),\ + lcms2 \ +) + +endef + +else + $(eval $(call gb_Helper_register_libraries,PLAINLIBS_OOO, \ lcms2 \ )) @@ -956,6 +971,7 @@ $(call gb_LinkTarget_use_libraries,$(1),\ endef +endif # ANDROID endif # SYSTEM_LCMS2 |