summaryrefslogtreecommitdiff
path: root/redland/raptor
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2012-04-19 21:45:14 +0300
committerTor Lillqvist <tlillqvist@suse.com>2012-04-20 00:57:24 +0300
commit9a42ca71049db83a6264cc026c53763b3a7a0b53 (patch)
tree6e75e5129bfcaf87ed00a38cacd273e51f0a80d3 /redland/raptor
parent0d1c24e5f63fb31538d708e9842cec121e3e3f98 (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 'redland/raptor')
-rw-r--r--redland/raptor/makefile.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/redland/raptor/makefile.mk b/redland/raptor/makefile.mk
index 0229bf853e83..9d8dcf9f7219 100644
--- a/redland/raptor/makefile.mk
+++ b/redland/raptor/makefile.mk
@@ -167,6 +167,9 @@ CONFIGURE_ACTION=.$/configure
.IF "$(OS)"=="IOS"
CONFIGURE_ACTION+=LIBS=-liconv
+.ENDIF
+
+.IF "$(OS)"=="IOS" || "$(OS)"=="ANDROID"
CONFIGURE_FLAGS=--disable-shared
.ELSE
CONFIGURE_FLAGS=--disable-static
@@ -202,12 +205,9 @@ OUT2INC+=src$/raptor.h
.IF "$(OS)"=="MACOSX"
OUT2LIB+=src$/.libs$/libraptor-lo.$(RAPTOR_MAJOR).dylib src$/.libs$/libraptor.dylib
OUT2BIN+=src/raptor-config
-.ELIF "$(OS)"=="IOS"
+.ELIF "$(OS)"=="IOS" || "$(OS)"=="ANDROID"
OUT2LIB+=src$/.libs$/libraptor.a
OUT2BIN+=src/raptor-config
-.ELIF "$(OS)"=="ANDROID"
-OUT2LIB+=src$/.libs$/libraptor.so
-OUT2BIN+=src/raptor-config
.ELIF "$(OS)"=="AIX"
OUT2LIB+=src$/.libs$/libraptor-lo.so.$(RAPTOR_MAJOR) src$/.libs$/libraptor.so
OUT2BIN+=src/raptor-config