summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-10-21 18:45:36 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-10-21 21:28:13 +0200
commit42b5fb05713d480b16917095d1ec0ff13fc6bae8 (patch)
tree1ec5b05c2b16df5d6aec6fa3beb62e3eb42909ed
parentae1cf0f3b850f785b86690bcf102db4703108593 (diff)
downloadbuildroot-42b5fb05713d480b16917095d1ec0ff13fc6bae8.tar.gz
buildroot-42b5fb05713d480b16917095d1ec0ff13fc6bae8.zip
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 <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/hostapd/hostapd.mk4
1 files 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
OpenPOWER on IntegriCloud