aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant
diff options
context:
space:
mode:
authorDaniel Mierswa <impulze@impulze.org>2009-02-05 17:24:16 (GMT)
committerJouni Malinen <j@w1.fi>2009-02-08 10:35:38 (GMT)
commit9084e2b6e477b7f8ea5ece354b63edc330d565a0 (patch)
treebb0cbe4eb581a114be735e7199e7d2425003d432 /wpa_supplicant
parent154d997f7c16a0d54deaaff30148745909171ea1 (diff)
downloadhostap-06-9084e2b6e477b7f8ea5ece354b63edc330d565a0.zip
hostap-06-9084e2b6e477b7f8ea5ece354b63edc330d565a0.tar.gz
hostap-06-9084e2b6e477b7f8ea5ece354b63edc330d565a0.tar.bz2
Explicitly link against libdl when including TNC support
If you don't choose OpenSSL as TLS implementation and choose to enable CONFIG_EAP_TNC you have to link against libdl. The OpenSSL libraries implicitly link against them, so this might be a reason why it wasn't noticed yet. I assume the same applies to hostapd. (cherry picked from commit b77eab282a2820fd8d67785eb2e045aa59f49b82)
Diffstat (limited to 'wpa_supplicant')
-rw-r--r--wpa_supplicant/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile
index 217fec1..1b79a38 100644
--- a/wpa_supplicant/Makefile
+++ b/wpa_supplicant/Makefile
@@ -564,6 +564,7 @@ CFLAGS += -DEAP_TNC
OBJS += ../src/eap_peer/eap_tnc.o
OBJS += ../src/eap_peer/tncc.o
NEED_BASE64=y
+LIBS += -ldl
endif
ifdef CONFIG_IEEE8021X_EAPOL