Use vstr/gmp as shared libraries in the Android build.
authorTobias Brunner <tobias@strongswan.org>
Tue, 23 Mar 2010 10:39:58 +0000 (11:39 +0100)
committerTobias Brunner <tobias@strongswan.org>
Tue, 23 Mar 2010 10:39:58 +0000 (11:39 +0100)
src/libcharon/Android.mk
src/libstrongswan/Android.mk

index 3fbd24b..7588533 100644 (file)
@@ -116,7 +116,7 @@ LOCAL_SRC_FILES += $(call add_plugin, eap-aka)
 LOCAL_SRC_FILES += $(call add_plugin, eap-aka-3gpp2)
 ifneq ($(call plugin_enabled, eap-aka-3gpp2)),)
 LOCAL_C_INCLUDES += $(libgmp_PATH)
-LOCAL_STATIC_LIBRARIES += libgmp
+LOCAL_SHARED_LIBRARIES += libgmp
 endif
 
 LOCAL_SRC_FILES += $(call add_plugin, eap-gtc)
index d16f970..2dc4e58 100644 (file)
@@ -73,7 +73,7 @@ LOCAL_SRC_FILES += $(call add_plugin, fips-prf)
 LOCAL_SRC_FILES += $(call add_plugin, gmp)
 ifneq ($(call plugin_enabled, gmp)),)
 LOCAL_C_INCLUDES += $(libgmp_PATH)
-LOCAL_STATIC_LIBRARIES += libgmp
+LOCAL_SHARED_LIBRARIES += libgmp
 endif
 
 LOCAL_SRC_FILES += $(call add_plugin, hmac)
@@ -118,9 +118,7 @@ LOCAL_ARM_MODE := arm
 
 LOCAL_PRELINK_MODULE := false
 
-LOCAL_SHARED_LIBRARIES += libdl
-
-LOCAL_STATIC_LIBRARIES += libvstr
+LOCAL_SHARED_LIBRARIES += libdl libvstr
 
 include $(BUILD_SHARED_LIBRARY)