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