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.
This commit is contained in:
Daniel Mierswa 2009-02-05 19:24:16 +02:00 committed by Jouni Malinen
parent 1e2688be3e
commit b77eab282a
2 changed files with 2 additions and 0 deletions

View file

@ -335,6 +335,7 @@ CFLAGS += -DEAP_TNC
OBJS += ../src/eap_server/eap_tnc.o OBJS += ../src/eap_server/eap_tnc.o
OBJS += ../src/eap_server/tncs.o OBJS += ../src/eap_server/tncs.o
NEED_BASE64=y NEED_BASE64=y
LIBS += -ldl
endif endif
# Basic EAP functionality is needed for EAPOL # Basic EAP functionality is needed for EAPOL

View file

@ -566,6 +566,7 @@ OBJS += ../src/eap_peer/tncc.o
OBJS_h += ../src/eap_server/eap_tnc.o OBJS_h += ../src/eap_server/eap_tnc.o
OBJS_h += ../src/eap_server/tncs.o OBJS_h += ../src/eap_server/tncs.o
NEED_BASE64=y NEED_BASE64=y
LIBS += -ldl
endif endif
ifdef CONFIG_IEEE8021X_EAPOL ifdef CONFIG_IEEE8021X_EAPOL