mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-06 00:00:47 -04:00
android: Use LOCAL_LDLIBS to link libdl
Newer NDKs fail otherwise as there is no actual module anymore.
This commit is contained in:
parent
74d44e15dc
commit
ddd4d8b427
@ -133,6 +133,6 @@ LOCAL_ARM_MODE := arm
|
||||
|
||||
LOCAL_PRELINK_MODULE := false
|
||||
|
||||
LOCAL_SHARED_LIBRARIES += libdl
|
||||
LOCAL_LDLIBS += -ldl
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user