From 300dc54dad6e13cd099b881075518822bd314a72 Mon Sep 17 00:00:00 2001 From: "Roger A. Light" Date: Fri, 15 Jan 2021 09:58:19 +0000 Subject: [PATCH] Add notes that libsystemd-dev or similar is needed. This is when building with systemd support on Linux. Closes #2019. Thanks to Mark Symmes. --- ChangeLog.txt | 2 ++ README-compiling.md | 1 + config.mk | 2 ++ 3 files changed, 5 insertions(+) diff --git a/ChangeLog.txt b/ChangeLog.txt index dbfe2afdad..509cd72c04 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -4,6 +4,8 @@ Broker: - Fix message expiry interval property not being honoured in `mosquitto_broker_publish` and `mosquitto_broker_publish_copy`. - Fix websockets listeners with TLS not responding. Closes #2020. +- Add notes that libsystemd-dev or similar is needed if building with systemd + support. Closes #2019. 2.0.5 - 2021-01-11 diff --git a/README-compiling.md b/README-compiling.md index f3be9d9ab1..eb1b11dae4 100644 --- a/README-compiling.md +++ b/README-compiling.md @@ -7,6 +7,7 @@ are optional. * libwebsockets (optional, disabled by default, version 2.4 and above) * cJSON (optional but recommended, for dynamic-security plugin support, and JSON output from mosquitto_sub/mosquitto_rr) +* libsystemd-dev (optional, if building with systemd support on Linux) * On Windows, a pthreads library is required if threading support is to be included. diff --git a/config.mk b/config.mk index 178c8baa94..73c2c6112d 100644 --- a/config.mk +++ b/config.mk @@ -59,6 +59,8 @@ WITH_SYS_TREE:=yes # Build with systemd support. If enabled, mosquitto will notify systemd after # initialization. See README in service/systemd/ for more information. +# Setting to yes means the libsystemd-dev or similar package will need to be +# installed. WITH_SYSTEMD:=no # Build with SRV lookup support.