diff --git a/Makefile b/Makefile index 63c7f788b..71bd1d58a 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),)