package/mosquitto: disable building the crtl-shell for host variant

The ctrl-shell, in mosquitto_ctrl, optionally uses a line-editing
library, either libedit or readline. There is a single option (in
mosquitto) that drives whether to build all the apps or none, but
for the host variant, we're only interested in mosquitto_passwd,
not mosquitto_ctrl (nor the others either).

Explicitly disable the ctrl-shell, to avoid build failures when the
host has a mixed installation of readline or libedit that is not
compatible with ours.

Fixes:
    https://autobuild.buildroot.org/results/856/856352ddd690dc8b2314d46a6a837d74c237d69f

Signed-off-by: Yann E. MORIN <yann.morin@orange.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Titouan Christophe <titouan.christophe@mind.be>
Cc: Vincent Stehlé <vincent.stehle@arm.com>
Cc: Joseph Kogut <joseph.kogut@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Yann E. MORIN
2026-04-01 07:15:21 +02:00
committed by Peter Korsgaard
parent 20080af519
commit 5f51f58eed

View File

@@ -158,6 +158,7 @@ HOST_MOSQUITTO_CONF_OPTS = \
-DWITH_PLUGINS=OFF \
-DWITH_TESTS=OFF \
-DWITH_APPS=ON \
-DWITH_CTRL_SHELL=OFF \
-DWITH_TLS=ON
# Manually install just the one tool we need