]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: makefile: support SYSTEMD_LDFLAGS
authorWilly Tarreau <w@1wt.eu>
Wed, 21 Dec 2022 15:19:22 +0000 (16:19 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 23 Dec 2022 15:53:35 +0000 (16:53 +0100)
The LDFLAGS appended by USE_SYSTEMD can now be overridden using
SYSTEMD_LDFLAGS.

Makefile

index 8e723643c0c1506ab97cc32d28cdb730c38856dc..0cafdad074f5edf9f8283e550e0ef57c3a2034e7 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -713,7 +713,7 @@ ifneq ($(USE_WURFL),)
 endif
 
 ifneq ($(USE_SYSTEMD),)
-  OPTIONS_LDFLAGS += -lsystemd
+  SYSTEMD_LDFLAGS = -lsystemd
 endif
 
 ifneq ($(USE_PCRE)$(USE_STATIC_PCRE)$(USE_PCRE_JIT),)