[Buildroot] [PATCH] package/mosquitto: add support for TLS with libressl

Peter Korsgaard peter at korsgaard.com
Mon Oct 19 08:58:23 UTC 2020


mosquitto nowadays works correctly with libressl, so allow that as the
openssl backend as well.

Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/mosquitto/mosquitto.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/mosquitto/mosquitto.mk b/package/mosquitto/mosquitto.mk
index 5734dd45c5..fcd9cb7de9 100644
--- a/package/mosquitto/mosquitto.mk
+++ b/package/mosquitto/mosquitto.mk
@@ -48,8 +48,8 @@ else
 MOSQUITTO_MAKE_OPTS += WITH_THREADING=no
 endif
 
-ifeq ($(BR2_PACKAGE_LIBOPENSSL),y)
-MOSQUITTO_DEPENDENCIES += host-pkgconf libopenssl
+ifeq ($(BR2_PACKAGE_OPENSSL),y)
+MOSQUITTO_DEPENDENCIES += host-pkgconf openssl
 MOSQUITTO_MAKE_OPTS += \
 	WITH_TLS=yes \
 	CLIENT_STATIC_LDADD="`$(PKG_CONFIG_HOST_BINARY) --libs openssl`"
-- 
2.20.1



More information about the buildroot mailing list