From b77eab282a2820fd8d67785eb2e045aa59f49b82 Mon Sep 17 00:00:00 2001 From: Daniel Mierswa Date: Thu, 5 Feb 2009 19:24:16 +0200 Subject: 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. --- hostapd/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'hostapd') diff --git a/hostapd/Makefile b/hostapd/Makefile index 3c6bd4a..e548430 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 -- cgit v1.1