BUILD: makefile: support THREAD_LDFLAGS

The LDFLAGS appended by USE_THREAD can now be overridden using
THREAD_LDFLAGS.
This commit is contained in:
Willy Tarreau 2022-12-21 16:17:40 +01:00
parent 84e3283be3
commit 3b66494d25

View File

@ -548,7 +548,7 @@ ifneq ($(USE_RT),)
endif
ifneq ($(USE_THREAD),)
OPTIONS_LDFLAGS += -lpthread
THREAD_LDFLAGS = -lpthread
endif
ifneq ($(USE_BACKTRACE),)