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 <pepe.schlehofer@gmail.com>
This commit is contained in:
Josef Schlehofer 2022-10-25 07:52:15 +02:00
parent 14f151ac9c
commit 77e682a11c
No known key found for this signature in database
GPG Key ID: B950216FE4329F4C
1 changed files with 2 additions and 0 deletions

View 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)