From: Jouni Malinen Date: Wed, 21 May 2014 11:56:34 +0000 (+0300) Subject: tests: Add -rdynamic to fix TNC IMV/IMC loading on some platforms X-Git-Tag: hostap_2_2~85 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ba5cb29af8ec3c4e2b9044e0fd4a989ca346d4c;p=thirdparty%2Fhostap.git tests: Add -rdynamic to fix TNC IMV/IMC loading on some platforms The example IMV and IMC used for TNC testing has references to wpa_printf and other functions from hostapd/wpa_supplicant. Link the binaries in a way that allows these symbols to be resolved while loading the libraries at run time. Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/example-hostapd.config b/tests/hwsim/example-hostapd.config index 6ed6ac938..ac6cf4173 100644 --- a/tests/hwsim/example-hostapd.config +++ b/tests/hwsim/example-hostapd.config @@ -30,6 +30,7 @@ CONFIG_EAP_FAST=y CONFIG_EAP_IKEV2=y CONFIG_EAP_TNC=y CFLAGS += -DTNC_CONFIG_FILE=\"tnc/tnc_config\" +LIBS += -rdynamic CONFIG_EAP_UNAUTH_TLS=y ifeq ($(CONFIG_TLS), openssl) CONFIG_EAP_PWD=y diff --git a/tests/hwsim/example-wpa_supplicant.config b/tests/hwsim/example-wpa_supplicant.config index 4f9e14ae4..a39b74dd2 100644 --- a/tests/hwsim/example-wpa_supplicant.config +++ b/tests/hwsim/example-wpa_supplicant.config @@ -28,6 +28,7 @@ CONFIG_EAP_GPSK_SHA256=y CONFIG_EAP_EKE=y CONFIG_EAP_TNC=y CFLAGS += -DTNC_CONFIG_FILE=\"tnc/tnc_config\" +LIBS += -rdynamic CONFIG_EAP_FAST=y CONFIG_EAP_IKEV2=y