wpa_supplicant: fix static build with EAP enabled
PATCH 1/1 wpa_supplicant: fix static build with EAP enabled
Disable EAP-TNC for static build because its implementation uses dlopen().
Fixes:
http://autobuild.buildroot.net/results/e21/e21705ae690ab899b6f00e4a15833abef5e54e0e/
Signed-off-by Baruch Siach <[email protected]>
--- package/wpa_supplicant/wpa_supplicant.mk | 3 +++ 1 file changed, 3 insertions(+)
package/wpa_supplicant/wpa_supplicant.mk +3 -0
@@ -45,6 +45,9 @@ endif # Trailing underscore on purpose to not enable CONFIG_EAPOL_TEST ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_EAP),y) WPA_SUPPLICANT_CONFIG_ENABLE += CONFIG_EAP_ +ifeq ($(BR2_STATIC_LIBS),y) +WPA_SUPPLICANT_CONFIG_DISABLE += CONFIG_EAP_TNC +endif else WPA_SUPPLICANT_CONFIG_DISABLE += CONFIG_EAP endif
Signature · 1 line
2.6.1
PATCH 1/1 wpa_supplicant: fix static build with EAP enabled
Quoted 16 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Baruch" == Baruch Siach <[email protected]> writes:
Disable EAP-TNC for static build because its implementation uses
dlopen(). Fixes:
http://autobuild.buildroot.net/results/e21/e21705ae690ab899b6f00e4a15833abef5e54e0e/Signed-off-by Baruch Siach <[email protected]>--- package/wpa_supplicant/wpa_supplicant.mk | 3 +++ 1 file changed, 3 insertions(+)package/wpa_supplicant/wpa_supplicant.mk +0
-0
package/wpa_supplicant/wpa_supplicant.mk endif · line 50
Quoted 6 lines
package/wpa_supplicant/wpa_supplicant.mk +3
-0@@ -45,6 +45,9 @@ endif # Trailing underscore on purpose to not enable CONFIG_EAPOL_TEST ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_EAP),y) WPA_SUPPLICANT_CONFIG_ENABLE += CONFIG_EAP_ +ifeq ($(BR2_STATIC_LIBS),y) +WPA_SUPPLICANT_CONFIG_DISABLE += CONFIG_EAP_TNC +endif
Committed after adding a comment explaining why, thanks.
Signature · 1 line
Bye, Peter Korsgaard