From 19cb57bf124aed081880e377e6d1e3491d74f6d7 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 (cherry picked from commit 77e682a11c53f4dcd0e76bdea5ee82de77eaacfe) --- libs/libwebsockets/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/libwebsockets/Makefile b/libs/libwebsockets/Makefile index b71759b044..89e1a64f79 100644 --- a/libs/libwebsockets/Makefile +++ b/libs/libwebsockets/Makefile @@ -51,6 +51,7 @@ define Package/libwebsockets-openssl TITLE += (OpenSSL) DEPENDS += +libopenssl VARIANT:=openssl + CONFLICTS:=libwebsockets-full endef define Package/libwebsockets-mbedtls @@ -65,6 +66,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