projects
/
mech_eap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c34cd66
)
OpenSSL: Add CONFIG_TLS_ADD_DL=y build option for hostapd
author
Jouni Malinen
<j@w1.fi>
Tue, 28 Jul 2015 08:57:05 +0000
(11:57 +0300)
committer
Jouni Malinen
<j@w1.fi>
Tue, 28 Jul 2015 18:00:18 +0000
(21:00 +0300)
This behaves similarly to the same option in wpa_supplicant, i.e., adds
-ldl when linking in libcrypto from OpenSSL.
Signed-off-by: Jouni Malinen <j@w1.fi>
hostapd/Makefile
patch
|
blob
|
history
diff --git
a/hostapd/Makefile
b/hostapd/Makefile
index
82ec159
..
6575034
100644
(file)
--- a/
hostapd/Makefile
+++ b/
hostapd/Makefile
@@
-545,6
+545,10
@@
NEED_SHA256=y
NEED_TLS_PRF_SHA256=y
LIBS += -lcrypto
LIBS_h += -lcrypto
+ifdef CONFIG_TLS_ADD_DL
+LIBS += -ldl
+LIBS_h += -ldl
+endif
endif
ifeq ($(CONFIG_TLS), gnutls)