From: William Lallemand Date: Thu, 4 Apr 2024 12:06:11 +0000 (+0200) Subject: BUILD: systemd: enable USE_SYSTEMD by default with TARGET=linux-glibc X-Git-Tag: v3.0-dev7~21 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=310e3d070c5a94b85656c2cd9bbbf41e3a46f473;p=thirdparty%2Fhaproxy.git BUILD: systemd: enable USE_SYSTEMD by default with TARGET=linux-glibc 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. --- diff --git a/Makefile b/Makefile index df50d1700d..0987595dfa 100644 --- 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