Skip to content

Commit

Permalink
libwebsockets: full variant provides OpenSSL
Browse files Browse the repository at this point in the history
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 <[email protected]>
(cherry picked from commit 77e682a)
  • Loading branch information
BKPepe committed Oct 25, 2022
1 parent deefa58 commit 21ac949
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libs/libwebsockets/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ define Package/libwebsockets-openssl
TITLE += (OpenSSL)
DEPENDS += +libopenssl
VARIANT:=openssl
CONFLICTS:=libwebsockets-full
endef

define Package/libwebsockets-mbedtls
Expand All @@ -70,6 +71,7 @@ define Package/libwebsockets-full
TITLE += (Full - OpenSSL, libuv, plugins, CGI)
DEPENDS += +libopenssl +libuv
VARIANT:=full
PROVIDES:=libwebsockets-openssl
endef

ifeq ($(BUILD_VARIANT),openssl)
Expand Down

0 comments on commit 21ac949

Please sign in to comment.