BUILD: makefile: support LIBCRYPT_LDFLAGS

The LDFLAGS appended by USE_LIBCRYPT can now be overridden using
LIBCRYPT_LDFLAGS.
This commit is contained in:
Willy Tarreau 2022-12-21 16:14:11 +01:00
parent c108f37c2a
commit 2b5c9f7b4f
1 changed files with 1 additions and 1 deletions

View File

@ -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