summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosef Schlehofer <pepe.schlehofer@gmail.com>2022-10-26 09:12:38 +0200
committerJosef Schlehofer <pepe.schlehofer@gmail.com>2022-10-27 14:48:20 +0200
commite6ecebbfcc93b1ddc7c7493a00640e6034e8397f (patch)
tree4289d65b06d6cd330867b3b7b5b457643a071717
parent7b1b79c505b60092c8a46013309ed68d7dc1a86a (diff)
libwebsockets: fix recursive dependency
While running `make menuconfig`, it was discovered then there is a recursive dependency like this: tmp/.config-package.in:59138:error: recursive dependency detected! tmp/.config-package.in:59138: symbol PACKAGE_libwebsockets-openssl is selected by PACKAGE_libwebsockets-mbedtls tmp/.config-package.in:59122: symbol PACKAGE_libwebsockets-mbedtls depends on PACKAGE_libwebsockets-openssl It is not possible with the recently added conflicts that two packages (OpenSSL and full variant, which uses OpenSSL as well), which are almost the same provides the same named package libwebsockets as their conflict - Mbed TLS. Fixes: 676c5c72b5eeb583da2603e399fac085fa442c59 ("libwebsockets: OpenSSL and mbedTLS variants should conflict") Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com> (cherry picked from commit a4e8cbb89a48729b3c3ad615765549628d495b0f)
-rw-r--r--libs/libwebsockets/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/libwebsockets/Makefile b/libs/libwebsockets/Makefile
index 80c52d74a..66eabd4bc 100644
--- a/libs/libwebsockets/Makefile
+++ b/libs/libwebsockets/Makefile
@@ -43,7 +43,6 @@ define Package/libwebsockets/Default
DEPENDS:=+zlib +libcap
URL:=https://libwebsockets.org
MAINTAINER:=Karl Palsson <karlp@etactica.com>
- PROVIDES:= libwebsockets
endef
define Package/libwebsockets-openssl
@@ -59,6 +58,7 @@ define Package/libwebsockets-mbedtls
TITLE += (mbedTLS)
DEPENDS += +libmbedtls
VARIANT:=mbedtls
+ PROVIDES:=libwebsockets
CONFLICTS:=libwebsockets-openssl
endef
@@ -67,7 +67,7 @@ define Package/libwebsockets-full
TITLE += (Full - OpenSSL, libuv, plugins, CGI)
DEPENDS += +libopenssl +libuv
VARIANT:=full
- PROVIDES:=libwebsockets-openssl
+ PROVIDES:=libwebsockets libwebsockets-openssl
endef
ifeq ($(BUILD_VARIANT),openssl)