libwebsockets: full variant provides OpenSSL
authorJosef Schlehofer <pepe.schlehofer@gmail.com>
Tue, 25 Oct 2022 05:52:15 +0000 (07:52 +0200)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Tue, 25 Oct 2022 05:57:23 +0000 (07:57 +0200)
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 <pepe.schlehofer@gmail.com>
libs/libwebsockets/Makefile

index 22eb9aa7659df9d4439c1df02e871315529113ba..49a4381f73d4a70c754f138d1604c8e04d7c9f42 100644 (file)
@@ -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)