From: Thomas Petazzoni Date: Sat, 21 Oct 2017 17:03:08 +0000 (+0200) Subject: wpa_supplicant: supports only the real OpenSSL, not LibreSSL X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=346483306d896828fd05cd45b280027e8736b779;p=buildroot.git wpa_supplicant: supports only the real OpenSSL, not LibreSSL wpa_supplicant will not build with LibreSSL without patches, so let's support only OpenSSL. Signed-off-by: Thomas Petazzoni --- diff --git a/package/wpa_supplicant/wpa_supplicant.mk b/package/wpa_supplicant/wpa_supplicant.mk index da757aaab0..75ecbaa53c 100644 --- a/package/wpa_supplicant/wpa_supplicant.mk +++ b/package/wpa_supplicant/wpa_supplicant.mk @@ -97,8 +97,8 @@ WPA_SUPPLICANT_CONFIG_ENABLE += CONFIG_WPS endif # Try to use openssl if it's already available -ifeq ($(BR2_PACKAGE_OPENSSL),y) -WPA_SUPPLICANT_DEPENDENCIES += openssl +ifeq ($(BR2_PACKAGE_LIBOPENSSL),y) +WPA_SUPPLICANT_DEPENDENCIES += libopenssl WPA_SUPPLICANT_LIBS += $(if $(BR2_STATIC_LIBS),-lcrypto -lz) WPA_SUPPLICANT_CONFIG_EDITS += 's/\#\(CONFIG_TLS=openssl\)/\1/' else