From: Jouni Malinen Date: Sun, 8 Feb 2009 10:47:28 +0000 (+0200) Subject: Fix MinGW build with CONFIG_EAP_TNC=y X-Git-Tag: hostap_0_7_0~550 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=53c256a4766b9e85317fca763c25a3f11c792679;p=thirdparty%2Fhostap.git Fix MinGW build with CONFIG_EAP_TNC=y MinGW does not use -ldl so do not add this unconditionally. --- diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile index 183236e50..555244397 100644 --- a/wpa_supplicant/Makefile +++ b/wpa_supplicant/Makefile @@ -571,8 +571,10 @@ OBJS += ../src/eap_peer/tncc.o OBJS_h += ../src/eap_server/eap_tnc.o OBJS_h += ../src/eap_server/tncs.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)