libwebsockets: fix recursive dependency openwrt-18.06
authorJosef Schlehofer <pepe.schlehofer@gmail.com>
Wed, 26 Oct 2022 07:12:38 +0000 (09:12 +0200)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Thu, 27 Oct 2022 12:48:35 +0000 (14:48 +0200)
commit0171d18e051a0afdc5bc52b9e7913518b2e2a2a0
tree7957a02a63bc2c6ad3e9acb555345f37a3f6bf4b
parent8542fd3f3c5a2696a6617d5d106739e067bc7108
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)
libs/libwebsockets/Makefile