From 890b3a44cb6e5f62d2569faf84569db4aabc460c Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Fri, 8 Nov 2013 12:57:19 +0200 Subject: [PATCH] Android: Sync Android.mk with Makefile This brings in commit 411f56705019ac5b13b4daf62f423fceb3c703e2 changes to allow libdl to be linked in after OpenSSL. Signed-hostap: Jouni Malinen --- wpa_supplicant/Android.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wpa_supplicant/Android.mk b/wpa_supplicant/Android.mk index 6eb64ef41..6d46292e5 100644 --- a/wpa_supplicant/Android.mk +++ b/wpa_supplicant/Android.mk @@ -942,6 +942,10 @@ OBJS += src/crypto/fips_prf_openssl.c endif LIBS += -lcrypto LIBS_p += -lcrypto +ifdef CONFIG_TLS_ADD_DL +LIBS += -ldl +LIBS_p += -ldl +endif endif ifeq ($(CONFIG_TLS), gnutls)