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 <j@w1.fi>
This commit is contained in:
parent
68770ccd6e
commit
411f567050
1 changed files with 4 additions and 0 deletions
|
@ -876,6 +876,10 @@ OBJS += ../src/crypto/fips_prf_openssl.o
|
||||||
endif
|
endif
|
||||||
LIBS += -lcrypto
|
LIBS += -lcrypto
|
||||||
LIBS_p += -lcrypto
|
LIBS_p += -lcrypto
|
||||||
|
ifdef CONFIG_TLS_ADD_DL
|
||||||
|
LIBS += -ldl
|
||||||
|
LIBS_p += -ldl
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_TLS), gnutls)
|
ifeq ($(CONFIG_TLS), gnutls)
|
||||||
|
|
Loading…
Reference in a new issue