From 7e7c321ba0424123b0bf6f10a31af00607daaa8f Mon Sep 17 00:00:00 2001 From: Luca Pesce Date: Wed, 24 May 2023 10:31:57 +0200 Subject: [PATCH] package/mosquitto: libwebsockets support needs external loop support When libwebsockets is enabled, mosquitto broker is built with websocket support, but its code requires libwebsockets being built with external loop option - otherwise, mosquitto gives a compile-time warning hinting to unusable websocket support: https://github.com/eclipse/mosquitto/commit/1b24f625ea4ee77f3c4796ec2233d059f8c7977e To fix this, select the BR2_PACKAGE_LIBWEBSOCKETS_EXT_POLL option. Signed-off-by: Luca Pesce Signed-off-by: Yann E. MORIN --- package/mosquitto/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/mosquitto/Config.in b/package/mosquitto/Config.in index 6fa5f79c6c..8bedf2ad21 100644 --- a/package/mosquitto/Config.in +++ b/package/mosquitto/Config.in @@ -25,6 +25,7 @@ config BR2_PACKAGE_MOSQUITTO_BROKER depends on BR2_USE_MMU # fork() depends on !BR2_STATIC_LIBS # include depends on BR2_PACKAGE_MOSQUITTO + select BR2_PACKAGE_LIBWEBSOCKETS_EXT_POLL if BR2_PACKAGE_LIBWEBSOCKETS help Build and install the mosquitto broker onto target.