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 8e72364..0cafdad 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),)