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 <j@w1.fi>
@@ -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
ifeq ($(CONFIG_TLS), gnutls)