android: Use LOCAL_LDLIBS to link libdl

Newer NDKs fail otherwise as there is no actual module anymore.
This commit is contained in:
Tobias Brunner
2017-07-03 10:27:50 +02:00
parent 74d44e15dc
commit ddd4d8b427
2 changed files with 2 additions and 2 deletions
+1 -1
View 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)