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:676c5c72b5
("libwebsockets: OpenSSL and mbedTLS variants should conflict") Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com> (cherry picked from commita4e8cbb89a
)
This commit is contained in:
parent
7b1b79c505
commit
e6ecebbfcc
1 changed files with 2 additions and 2 deletions
|
@ -43,7 +43,6 @@ define Package/libwebsockets/Default
|
||||||
DEPENDS:=+zlib +libcap
|
DEPENDS:=+zlib +libcap
|
||||||
URL:=https://libwebsockets.org
|
URL:=https://libwebsockets.org
|
||||||
MAINTAINER:=Karl Palsson <karlp@etactica.com>
|
MAINTAINER:=Karl Palsson <karlp@etactica.com>
|
||||||
PROVIDES:= libwebsockets
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/libwebsockets-openssl
|
define Package/libwebsockets-openssl
|
||||||
|
@ -59,6 +58,7 @@ define Package/libwebsockets-mbedtls
|
||||||
TITLE += (mbedTLS)
|
TITLE += (mbedTLS)
|
||||||
DEPENDS += +libmbedtls
|
DEPENDS += +libmbedtls
|
||||||
VARIANT:=mbedtls
|
VARIANT:=mbedtls
|
||||||
|
PROVIDES:=libwebsockets
|
||||||
CONFLICTS:=libwebsockets-openssl
|
CONFLICTS:=libwebsockets-openssl
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -67,7 +67,7 @@ define Package/libwebsockets-full
|
||||||
TITLE += (Full - OpenSSL, libuv, plugins, CGI)
|
TITLE += (Full - OpenSSL, libuv, plugins, CGI)
|
||||||
DEPENDS += +libopenssl +libuv
|
DEPENDS += +libopenssl +libuv
|
||||||
VARIANT:=full
|
VARIANT:=full
|
||||||
PROVIDES:=libwebsockets-openssl
|
PROVIDES:=libwebsockets libwebsockets-openssl
|
||||||
endef
|
endef
|
||||||
|
|
||||||
ifeq ($(BUILD_VARIANT),openssl)
|
ifeq ($(BUILD_VARIANT),openssl)
|
||||||
|
|
Loading…
Reference in a new issue