From 42b5fb05713d480b16917095d1ec0ff13fc6bae8 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Sat, 21 Oct 2017 18:45:36 +0200 Subject: [PATCH] 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 --- package/hostapd/hostapd.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.30.2