Skip to contentSkip to conversation

wpa_supplicant: fix static build with EAP enabled

PATCH New Baruch Siach 2 participants 2 messages Oct 27, 2015

lore
Share & tools
lore
#0 lore raw

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/

---
 package/wpa_supplicant/wpa_supplicant.mk | 3 +++
 1 file changed, 3 insertions(+)
package/wpa_supplicant/wpa_supplicant.mk +3 -0
index 0574f02f4138..cc8a3dfa96e2 100644
@@ -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
#1 lore raw

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/

---
 package/wpa_supplicant/wpa_supplicant.mk | 3 +++
 1 file changed, 3 insertions(+)
package/wpa_supplicant/wpa_supplicant.mk +0 -0
index 0574f02f4138..cc8a3dfa96e2 100644

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