From 689dabd8de667344b89e09e858d73204423640a9 Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Wed, 25 Aug 2021 09:54:18 +0000 Subject: [PATCH] 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 --- libs/libwebsockets/Makefile | 1 + 1 file changed, 1 insertion(+) 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