aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2009-02-08 10:47:28 (GMT)
committerJouni Malinen <j@w1.fi>2009-02-08 10:48:56 (GMT)
commit997831b5677f16e01e3929d3db7707cedee275ee (patch)
tree78ca9a51365c29a1276314fac8d6ab49b7019a3d /wpa_supplicant
parent4e5484fe799d5fc1590673d76ab0a619d9109c19 (diff)
downloadhostap-06-997831b5677f16e01e3929d3db7707cedee275ee.zip
hostap-06-997831b5677f16e01e3929d3db7707cedee275ee.tar.gz
hostap-06-997831b5677f16e01e3929d3db7707cedee275ee.tar.bz2
Fix MinGW build with CONFIG_EAP_TNC=y
MinGW does not use -ldl so do not add this unconditionally. (cherry picked from commit 53c256a4766b9e85317fca763c25a3f11c792679)
Diffstat (limited to 'wpa_supplicant')
-rw-r--r--wpa_supplicant/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile
index 17ad152..ef81530 100644
--- a/wpa_supplicant/Makefile
+++ b/wpa_supplicant/Makefile
@@ -569,8 +569,10 @@ CFLAGS += -DEAP_TNC
OBJS += ../src/eap_peer/eap_tnc.o
OBJS += ../src/eap_peer/tncc.o
NEED_BASE64=y
+ifndef CONFIG_NATIVE_WINDOWS
LIBS += -ldl
endif
+endif
ifdef CONFIG_IEEE8021X_EAPOL
# IEEE 802.1X/EAPOL state machines (e.g., for RADIUS authentication)