From 3b66494d25835dc5a2403604083feac57d193a6e Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Wed, 21 Dec 2022 16:17:40 +0100 Subject: [PATCH] BUILD: makefile: support THREAD_LDFLAGS The LDFLAGS appended by USE_THREAD can now be overridden using THREAD_LDFLAGS. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 63c7f788bb..71bd1d58a1 100644 --- a/Makefile +++ b/Makefile @@ -548,7 +548,7 @@ ifneq ($(USE_RT),) endif ifneq ($(USE_THREAD),) - OPTIONS_LDFLAGS += -lpthread + THREAD_LDFLAGS = -lpthread endif ifneq ($(USE_BACKTRACE),) -- 2.47.3