From 77e682a11c53f4dcd0e76bdea5ee82de77eaacfe Mon Sep 17 00:00:00 2001 From: Josef Schlehofer Date: Tue, 25 Oct 2022 07:52:15 +0200 Subject: [PATCH] libwebsockets: full variant provides OpenSSL For some time, it is not possible to install ttyd and mosquitto-ssl at the same time, so let's solve it that libwebsockets-full provides libwebsockets-openssl. This allows to install ttyd and mosquitto at the same time. Also, we need to add conflict, because we should not have installed libwebsockets-openssl and libwebsockets-full at the same time as they provides the same files. Signed-off-by: Josef Schlehofer --- libs/libwebsockets/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/libwebsockets/Makefile b/libs/libwebsockets/Makefile index 22eb9aa765..49a4381f73 100644 --- a/libs/libwebsockets/Makefile +++ b/libs/libwebsockets/Makefile @@ -56,6 +56,7 @@ define Package/libwebsockets-openssl TITLE += (OpenSSL) DEPENDS += +libopenssl VARIANT:=openssl + CONFLICTS:=libwebsockets-full endef define Package/libwebsockets-mbedtls @@ -70,6 +71,7 @@ define Package/libwebsockets-full TITLE += (Full - OpenSSL, libuv, plugins, CGI) DEPENDS += +libopenssl +libuv VARIANT:=full + PROVIDES:=libwebsockets-openssl endef ifeq ($(BUILD_VARIANT),openssl) -- 2.30.2