summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosef Schlehofer <pepe.schlehofer@gmail.com>2022-10-25 07:52:15 +0200
committerJosef Schlehofer <pepe.schlehofer@gmail.com>2022-10-25 14:30:02 +0200
commitd257d6660ff863a50b96baf63d8c539bf90c5226 (patch)
treeab23bb999bfef815df1f47c5eb516bd27c00998e
parent17ab4ed4e4e727bca53a4a68e816baac463fb692 (diff)
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> (cherry picked from commit 77e682a11c53f4dcd0e76bdea5ee82de77eaacfe)
-rw-r--r--libs/libwebsockets/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/libwebsockets/Makefile b/libs/libwebsockets/Makefile
index fcafa90df..434743c4a 100644
--- a/libs/libwebsockets/Makefile
+++ b/libs/libwebsockets/Makefile
@@ -54,6 +54,7 @@ define Package/libwebsockets-openssl
TITLE += (OpenSSL)
DEPENDS += +libopenssl
VARIANT:=openssl
+ CONFLICTS:=libwebsockets-full
endef
define Package/libwebsockets-mbedtls
@@ -68,6 +69,7 @@ define Package/libwebsockets-full
TITLE += (Full - OpenSSL, libuv, plugins, CGI)
DEPENDS += +libopenssl +libuv
VARIANT:=full
+ PROVIDES:=libwebsockets-openssl
endef
ifeq ($(BUILD_VARIANT),openssl)