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

Makefile

index f45cc44820c022e8e17c7cdf749f6282a65034d0..a5235530d5573ed541223ac7940613f4ecde7664 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -512,7 +512,7 @@ OPTIONS_CFLAGS += $(call opts_as_defines)
 ifneq ($(USE_LIBCRYPT),)
   ifneq ($(TARGET),openbsd)
     ifneq ($(TARGET),osx)
-      OPTIONS_LDFLAGS += -lcrypt
+      LIBCRYPT_LDFLAGS = -lcrypt
     endif
   endif
 endif