libwebsockets: enable external poll support
authorKarl Palsson <redacted>
Wed, 25 Aug 2021 09:54:18 +0000 (09:54 +0000)
committerKarl Palsson <redacted>
Wed, 25 Aug 2021 10:10:55 +0000 (10:10 +0000)
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 <redacted>
libs/libwebsockets/Makefile

index 46460566be7204d84ac4fb6ce0002253da96dc3c..9c6f99f69261b3fa1cbf272b51f2a105372be2cf 100644 (file)
@@ -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
git clone https://git.99rst.org/PROJECT