From: Willy Tarreau Date: Wed, 21 Dec 2022 15:14:11 +0000 (+0100) Subject: BUILD: makefile: support LIBCRYPT_LDFLAGS X-Git-Tag: v2.8-dev1~46 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=2b5c9f7b4fcdeeeade29c4836b1659a81ecebdad;p=thirdparty%2Fhaproxy.git BUILD: makefile: support LIBCRYPT_LDFLAGS The LDFLAGS appended by USE_LIBCRYPT can now be overridden using LIBCRYPT_LDFLAGS. --- diff --git a/Makefile b/Makefile index f45cc44820..a5235530d5 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