From: Jouni Malinen Date: Thu, 16 Aug 2012 16:34:38 +0000 (+0300) Subject: Allow libdl to be linked in after OpenSSL X-Git-Tag: hostap_2_0~407 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=411f56705019ac5b13b4daf62f423fceb3c703e2;p=thirdparty%2Fhostap.git Allow libdl to be linked in after OpenSSL OpenSSL-based builds may need libdl in the linker line after the OpenSSL library. CONFIG_TLS_ADD_DL=y can now be used to force that if needed. Signed-hostap: Jouni Malinen --- diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile index a73b737e9..71e43b6c8 100644 --- a/wpa_supplicant/Makefile +++ b/wpa_supplicant/Makefile @@ -876,6 +876,10 @@ OBJS += ../src/crypto/fips_prf_openssl.o endif LIBS += -lcrypto LIBS_p += -lcrypto +ifdef CONFIG_TLS_ADD_DL +LIBS += -ldl +LIBS_p += -ldl +endif endif ifeq ($(CONFIG_TLS), gnutls)