From: Karl Palsson Date: Wed, 25 Aug 2021 09:54:18 +0000 (+0000) Subject: libwebsockets: enable external poll support X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=689dabd8de667344b89e09e858d73204423640a9;p=openwrt-packages.git libwebsockets: enable external poll support This was removed and then re-added, but defaulted off upstream. It's still listed as "not recommended" but still absolutely essential for many apps for performance. Fixes: https://github.com/eclipse/mosquitto/issues/2284 Signed-off-by: Karl Palsson --- diff --git a/libs/libwebsockets/Makefile b/libs/libwebsockets/Makefile index 46460566b..9c6f99f69 100644 --- a/libs/libwebsockets/Makefile +++ b/libs/libwebsockets/Makefile @@ -31,6 +31,7 @@ include $(INCLUDE_DIR)/cmake.mk CMAKE_OPTIONS += -DLWS_IPV6=$(if $(CONFIG_IPV6),ON,OFF) CMAKE_OPTIONS += -DISABLE_WERROR=ON CMAKE_OPTIONS += -DCMAKE_BUILD_TYPE=Release +CMAKE_OPTIONS += -DLWS_WITH_EXTERNAL_POLL=ON CMAKE_OPTIONS += -DLWS_WITH_ULOOP=ON # turn off all test apps