]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Fix MinGW build with CONFIG_EAP_TNC=y
authorJouni Malinen <j@w1.fi>
Sun, 8 Feb 2009 10:47:28 +0000 (12:47 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 8 Feb 2009 10:47:28 +0000 (12:47 +0200)
MinGW does not use -ldl so do not add this unconditionally.

wpa_supplicant/Makefile

index 183236e5034fce105721784d3ac0b890115a1484..555244397bfd2a27f1c3cdc4e9466cc177b544f1 100644 (file)
@@ -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)