Android: Sync Android.mk with Makefile
authorJouni Malinen <jouni@qca.qualcomm.com>
Fri, 8 Nov 2013 10:57:19 +0000 (12:57 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 8 Nov 2013 11:04:51 +0000 (13:04 +0200)
This brings in commit 411f56705019ac5b13b4daf62f423fceb3c703e2 changes
to allow libdl to be linked in after OpenSSL.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>

wpa_supplicant/Android.mk

index 6eb64ef..6d46292 100644 (file)
@@ -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)