From b5b758a40a79a305e0bcdf64b0956469bbfd84ad Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 12 Jul 2022 12:37:06 +0200 Subject: Use -pthread instead of -lpthread in bootstrap scripts/makefile --- bootstrap.gmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bootstrap.gmake') diff --git a/bootstrap.gmake b/bootstrap.gmake index e5ab285..a2c9779 100644 --- a/bootstrap.gmake +++ b/bootstrap.gmake @@ -51,7 +51,7 @@ ifeq ($(OS),Windows_NT) ifneq ($(filter %-w64-mingw32,$(target)),) host := x86_64-w64-mingw32 chost := $(host) - override LIBS += -limagehlp + override LIBS += -pthread -limagehlp else ifneq ($(filter %-windows-msvc,$(target)),) host := x86_64-microsoft-win32-msvc chost := $(host) @@ -65,7 +65,7 @@ ifeq ($(OS),Windows_NT) $(error unsupported target $(target)) endif else - override LIBS += -lpthread + override LIBS += -pthread endif # Remove all the built-in rules, enable second expansion, etc. -- cgit v1.1