libwebsockets: fix uloop support
authorJohn Crispin <john@phrozen.org>
Mon, 26 Dec 2022 17:31:39 +0000 (18:31 +0100)
committerJohn Crispin <john@phrozen.org>
Tue, 3 Jan 2023 19:31:31 +0000 (20:31 +0100)
The commit adding uloop support failed to actually install the .so and
add the correct dependencies.

[2022/12/26 18:19:38:1835] E: lws_create_context: failed to load evlib_uloop

Fixes: 1557ac367a ("libwebsockets: enable built in uloop support")
Signed-off-by: John Crispin <john@phrozen.org>
libs/libwebsockets/Makefile

index 2920cb039e7702a6de05c47634a31a7d02359bc5..bb54b66550428dcbbe6e03392ba2d066242b1ba8 100644 (file)
@@ -45,7 +45,7 @@ define Package/libwebsockets/Default
        SECTION:=libs
        CATEGORY:=Libraries
        TITLE:=libwebsockets
-       DEPENDS:=+zlib +libcap
+       DEPENDS:=+zlib +libcap +libubox
        URL:=https://libwebsockets.org
        MAINTAINER:=Karl Palsson <karlp@etactica.com>
 endef
@@ -97,7 +97,7 @@ endif
 
 define Package/libwebsockets/install
        $(INSTALL_DIR) $(1)/usr/lib
-       $(CP) $(PKG_INSTALL_DIR)/usr/lib/libwebsockets.so* $(1)/usr/lib/
+       $(CP) $(PKG_INSTALL_DIR)/usr/lib/libwebsockets*.so* $(1)/usr/lib/
 endef
 
 Package/libwebsockets-mbedtls/install = $(Package/libwebsockets/install)