summaryrefslogtreecommitdiff
path: root/RepositoryFixes.mk
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2011-07-04 21:11:36 +0300
committerTor Lillqvist <tml@iki.fi>2011-07-04 21:16:30 +0300
commitbf1b84d0fccfa0da7d85ca2ca76602a2b23fc698 (patch)
tree42666b5205ec03631ca1ab76829c7baaf8078bd5 /RepositoryFixes.mk
parent3ef130c949da9dd0d625a5cd84f43053e8e63577 (diff)
Some libraries get built as static archives for Android
We haven't bothered fixing their configury to recognize that shared libraries can be built for the platform. So for them use the .a names in gb_Library_FILENAMES for Android.
Diffstat (limited to 'RepositoryFixes.mk')
-rw-r--r--RepositoryFixes.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/RepositoryFixes.mk b/RepositoryFixes.mk
index 2d9916f7fba3..d07835452812 100644
--- a/RepositoryFixes.mk
+++ b/RepositoryFixes.mk
@@ -144,6 +144,15 @@ gb_Library_FILENAMES := $(patsubst salhelper:libsalhelper%,salhelper:libuno_salh
endif
+# Some external libraries get built as static libraries for Android
+# because we haven't bothered fixing their configury to recognize that
+# shared libraries can be built for the platform.
+ifeq ($(OS),ANDROID)
+gb_Library_FILENAMES := $(patsubst cppunit:%.so,cppunit:%.a,$(gb_Library_FILENAMES))
+gb_Library_FILENAMES := $(patsubst xml2:%.so,xml2:%.a,$(gb_Library_FILENAMES))
+
+endif
+
gb_Library_FILENAMES := $(patsubst writerfilter_uno:writerfilter_uno%,writerfilter_uno:writerfilter%,$(gb_Library_FILENAMES))
# we do not require a known rule for these, when using system libs