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)