configure: Directly support Android as target OS
authorLuca Barbato <lu_zero@gentoo.org>
Fri, 13 Jun 2014 13:14:10 +0000 (15:14 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Mon, 16 Jun 2014 08:52:29 +0000 (10:52 +0200)
configure

index 61cd2d4..22f4ce8 100755 (executable)
--- a/configure
+++ b/configure
@@ -3340,6 +3340,13 @@ case $target_os in
         add_cppflags '-I\$(SRC_PATH)/compat/aix'
         enabled shared && add_ldflags -Wl,-brtl
         ;;
+    android)
+        disable symver
+        SLIB_INSTALL_NAME='$(SLIBNAME)'
+        SLIB_INSTALL_LINKS=
+        # soname not set on purpose
+        SHFLAGS=-shared
+        ;;
     haiku)
         prefix_default="/boot/common"
         network_extralibs="-lnetwork"