aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2009-03-21 18:59:07 (GMT)
committerJouni Malinen <j@w1.fi>2009-03-22 14:24:28 (GMT)
commitee7af6f3bf9de88b153f5b5b549f9c4b410eb3be (patch)
tree9d6cf8ee080727e5ad7ba7a4fcd8f4167d8c2111 /wpa_supplicant
parent32d4553dcf46f9f2997d9702e7dbd0b875d661c0 (diff)
downloadhostap-06-ee7af6f3bf9de88b153f5b5b549f9c4b410eb3be.zip
hostap-06-ee7af6f3bf9de88b153f5b5b549f9c4b410eb3be.tar.gz
hostap-06-ee7af6f3bf9de88b153f5b5b549f9c4b410eb3be.tar.bz2
Fix FreeBSD build by not adding -ldl
Unlike Linux, FreeBSD does not use libdl. (cherry picked from commit 7d737d6bf92b75d8c0a6e52c04115dd8e730c22b)
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 25974f8..45d6ada 100644
--- a/wpa_supplicant/Makefile
+++ b/wpa_supplicant/Makefile
@@ -576,9 +576,11 @@ OBJS += ../src/eap_peer/eap_tnc.o
OBJS += ../src/eap_peer/tncc.o
NEED_BASE64=y
ifndef CONFIG_NATIVE_WINDOWS
+ifndef CONFIG_DRIVER_BSD
LIBS += -ldl
endif
endif
+endif
ifdef CONFIG_IEEE8021X_EAPOL
# IEEE 802.1X/EAPOL state machines (e.g., for RADIUS authentication)