From: Thomas Petazzoni Date: Sat, 21 Oct 2017 16:45:36 +0000 (+0200) Subject: hostapd: supports only the real OpenSSL, not LibreSSL X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=42b5fb05713d480b16917095d1ec0ff13fc6bae8;p=buildroot.git hostapd: supports only the real OpenSSL, not LibreSSL hostapd will not build with LibreSSL without patches, so let's support only OpenSSL. Signed-off-by: Thomas Petazzoni --- diff --git a/package/hostapd/hostapd.mk b/package/hostapd/hostapd.mk index e4ca72df63..3f94c8c4b7 100644 --- a/package/hostapd/hostapd.mk +++ b/package/hostapd/hostapd.mk @@ -38,8 +38,8 @@ HOSTAPD_LIBS += -lnl-3 -lm -lpthread endif # Try to use openssl if it's already available -ifeq ($(BR2_PACKAGE_OPENSSL),y) -HOSTAPD_DEPENDENCIES += openssl +ifeq ($(BR2_PACKAGE_LIBOPENSSL),y) +HOSTAPD_DEPENDENCIES += libopenssl HOSTAPD_LIBS += $(if $(BR2_STATIC_LIBS),-lcrypto -lz) HOSTAPD_CONFIG_EDITS += 's/\#\(CONFIG_TLS=openssl\)/\1/' else