diff options
author | Tor Lillqvist <tml@iki.fi> | 2011-07-04 21:11:36 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2011-07-04 21:16:30 +0300 |
commit | bf1b84d0fccfa0da7d85ca2ca76602a2b23fc698 (patch) | |
tree | 42666b5205ec03631ca1ab76829c7baaf8078bd5 | |
parent | for windows, iOS and Android only force cairo if librsvg required (diff) | |
download | core-bf1b84d0fccfa0da7d85ca2ca76602a2b23fc698.tar.gz core-bf1b84d0fccfa0da7d85ca2ca76602a2b23fc698.zip |
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.
-rw-r--r-- | RepositoryFixes.mk | 9 |
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 |