package/mosquitto: add support for TLS with libressl
authorPeter Korsgaard <peter@korsgaard.com>
Mon, 19 Oct 2020 08:58:23 +0000 (10:58 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 25 Oct 2020 10:06:03 +0000 (11:06 +0100)
mosquitto nowadays works correctly with libressl, so allow that as the
openssl backend as well.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/mosquitto/mosquitto.mk

index 5734dd45c511f5c35e17543a5f9ccd26dd01e21a..fcd9cb7de93135182554208f4dd397732ed5577e 100644 (file)
@@ -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`"