Use msys2-provided pthreads instead of abc's.
authorWilliam D. Jones <thor0505@comcast.net>
Wed, 27 Jun 2018 20:26:36 +0000 (16:26 -0400)
committerWilliam D. Jones <thor0505@comcast.net>
Wed, 27 Jun 2018 20:26:36 +0000 (16:26 -0400)
Makefile

index 11803ec0a7dce3fc5539df4e62fee70cec72a5dc..e8d7addf554d19314d8d7241979bb87273c78229 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -217,7 +217,7 @@ CXXFLAGS := $(filter-out -fPIC,$(CXXFLAGS))
 LDFLAGS := $(filter-out -rdynamic,$(LDFLAGS)) -s
 LDLIBS := $(filter-out -lrt,$(LDLIBS))
 ABCMKARGS += ARCHFLAGS="-DABC_USE_STDINT_H -DWIN32_NO_DLL -DHAVE_STRUCT_TIMESPEC -fpermissive -w"
-ABCMKARGS += LIBS="lib/x86/pthreadVC2.lib -s" ABC_USE_NO_READLINE=0
+ABCMKARGS += LIBS="-lpthread -s" ABC_USE_NO_READLINE=0 CC="i686-w64-mingw32-gcc" CXX="$(CXX)"
 EXE = .exe
 
 else ifneq ($(CONFIG),none)