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)
TITLE += (OpenSSL)
DEPENDS += +libopenssl
VARIANT:=openssl
+ CONFLICTS:=libwebsockets-full
endef
define Package/libwebsockets-mbedtls
TITLE += (Full - OpenSSL, libuv, plugins, CGI)
DEPENDS += +libopenssl +libuv
VARIANT:=full
+ PROVIDES:=libwebsockets-openssl
endef
ifeq ($(BUILD_VARIANT),openssl)