]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
android: Use LOCAL_LDLIBS to link libdl
authorTobias Brunner <tobias@strongswan.org>
Thu, 4 May 2017 12:00:50 +0000 (14:00 +0200)
committerTobias Brunner <tobias@strongswan.org>
Mon, 3 Jul 2017 08:27:50 +0000 (10:27 +0200)
Newer NDKs fail otherwise as there is no actual module anymore.

src/libstrongswan/Android.mk
src/libtnccs/Android.mk

index a5e6b7273f5cc679d9ba5c2657ec5a8a93491539..28e3b55d893ef38ece7f00d0a13328308e3bec06 100644 (file)
@@ -133,6 +133,6 @@ LOCAL_ARM_MODE := arm
 
 LOCAL_PRELINK_MODULE := false
 
-LOCAL_SHARED_LIBRARIES += libdl
+LOCAL_LDLIBS += -ldl
 
 include $(BUILD_SHARED_LIBRARY)
index e37973202125aca7d3447ab8ac3474e0ecd2fbca..ba749651747dc58eac094e35411b9a3afdfab310 100644 (file)
@@ -16,7 +16,7 @@ LOCAL_SRC_FILES := $(filter %.c,$(libtnccs_la_SOURCES))
 
 LOCAL_SRC_FILES += $(call add_plugin, tnc-imc)
 ifneq ($(call plugin_enabled, tnc-imc),)
-LOCAL_SHARED_LIBRARIES += libdl
+LOCAL_LDLIBS += -ldl
 endif
 
 LOCAL_SRC_FILES += $(call add_plugin, tnc-tnccs)