libwebsockets: enable built in uloop support
authorKarl Palsson <redacted>
Tue, 3 Aug 2021 15:26:26 +0000 (15:26 +0000)
committerKarl Palsson <redacted>
Tue, 3 Aug 2021 17:29:16 +0000 (17:29 +0000)
uloop is always available on OpenWrt, so build in LWS's uloop support by
default. Size difference of .ipk is 683 bytes, or about 0.5%.
No known applications use this at present, but it seems better to
proactively offer it.

Signed-off-by: Karl Palsson <redacted>
libs/libwebsockets/Makefile

index fdfc3e5511463c79434b05d91e0437e2ffa1c501..df1f0a4d258d1057264ceae39c040096c4b0218d 100644 (file)
@@ -29,6 +29,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_ULOOP=ON
 
 # turn off all test apps
 CMAKE_OPTIONS += -DLWS_WITHOUT_TESTAPPS=ON
git clone https://git.99rst.org/PROJECT