From 2b5c9f7b4fcdeeeade29c4836b1659a81ecebdad Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Wed, 21 Dec 2022 16:14:11 +0100 Subject: [PATCH] BUILD: makefile: support LIBCRYPT_LDFLAGS The LDFLAGS appended by USE_LIBCRYPT can now be overridden using LIBCRYPT_LDFLAGS. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f45cc4482..a5235530d 100644 --- 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