From: Daniel Mierswa Date: Thu, 5 Feb 2009 17:24:16 +0000 (+0200) Subject: Explicitly link against libdl when including TNC support X-Git-Tag: hostap_0_7_0~567 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b77eab282a2820fd8d67785eb2e045aa59f49b82;p=thirdparty%2Fhostap.git 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. --- diff --git a/hostapd/Makefile b/hostapd/Makefile index 3c6bd4a6d..e54843001 100644 --- a/hostapd/Makefile +++ b/hostapd/Makefile @@ -335,6 +335,7 @@ CFLAGS += -DEAP_TNC OBJS += ../src/eap_server/eap_tnc.o OBJS += ../src/eap_server/tncs.o NEED_BASE64=y +LIBS += -ldl endif # Basic EAP functionality is needed for EAPOL diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile index 73d3aa5d4..9f7a785bc 100644 --- a/wpa_supplicant/Makefile +++ b/wpa_supplicant/Makefile @@ -566,6 +566,7 @@ OBJS += ../src/eap_peer/tncc.o OBJS_h += ../src/eap_server/eap_tnc.o OBJS_h += ../src/eap_server/tncs.o NEED_BASE64=y +LIBS += -ldl endif ifdef CONFIG_IEEE8021X_EAPOL