]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: systemd: enable USE_SYSTEMD by default with TARGET=linux-glibc
authorWilliam Lallemand <wlallemand@haproxy.com>
Thu, 4 Apr 2024 12:06:11 +0000 (14:06 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Thu, 4 Apr 2024 12:06:11 +0000 (14:06 +0200)
Since the systemd notify feature is now independant of any library,
lets enable it by default for linux-glibc.

The -Ws mode still need to be used in order to use the sd_nofify()
function. And the function won't do anything if the NOTIFY_SOCKET
environment variable is not defined.

Makefile

index df50d1700db7971adb0a96c58878783554df8555..0987595dfa8d1a7b35193c889a11c1bd0fbd4a5e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -351,7 +351,7 @@ ifeq ($(TARGET),linux-glibc)
     USE_POLL USE_TPROXY USE_LIBCRYPT USE_DL USE_RT USE_CRYPT_H USE_NETFILTER  \
     USE_CPU_AFFINITY USE_THREAD USE_EPOLL USE_LINUX_TPROXY USE_LINUX_CAP      \
     USE_ACCEPT4 USE_LINUX_SPLICE USE_PRCTL USE_THREAD_DUMP USE_NS USE_TFO     \
-    USE_GETADDRINFO USE_BACKTRACE USE_SHM_OPEN)
+    USE_GETADDRINFO USE_BACKTRACE USE_SHM_OPEN USE_SYSTEMD)
   INSTALL = install -v
 endif