aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/Makefile
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2015-07-28 08:57:05 (GMT)
committerJouni Malinen <j@w1.fi>2015-07-28 18:00:18 (GMT)
commit6ee66b4251866298a370101f272a01b7f62daa1b (patch)
treebd4631e4f7b071c5f7e9e8336a8468d1a24705c5 /hostapd/Makefile
parentc34cd66866cad46ba3c8bc4b619bf2531c509a10 (diff)
downloadhostap-6ee66b4251866298a370101f272a01b7f62daa1b.zip
hostap-6ee66b4251866298a370101f272a01b7f62daa1b.tar.gz
hostap-6ee66b4251866298a370101f272a01b7f62daa1b.tar.bz2
OpenSSL: Add CONFIG_TLS_ADD_DL=y build option for hostapd
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>
Diffstat (limited to 'hostapd/Makefile')
-rw-r--r--hostapd/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/hostapd/Makefile b/hostapd/Makefile
index 82ec159..6575034 100644
--- 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)