From 5c95bc14d1257cfda7aec2f91d8c07ccd0273086 Mon Sep 17 00:00:00 2001
From: Jonathan Wilkes <jon.w.wilkes@gmail.com>
Date: Fri, 18 Mar 2016 23:14:22 -0400
Subject: [PATCH] use pthread instead of pthreadGC2 with msys2 on Windows

---
 externals/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/externals/Makefile b/externals/Makefile
index 05f894e6a..cb2f99f41 100644
--- a/externals/Makefile
+++ b/externals/Makefile
@@ -79,7 +79,7 @@ ifeq ($(OS_NAME),windows)
 # all of these included libs are part of libc in UNIX platforms.  All except
 # libregex are in DLLs, so they get stripped from the external's .dll binary
   LIBS += -L$(pd_src)/src -L$(pd_src)/bin -L$(pd_src)/obj -lpd \
-    -lwsock32 -liphlpapi -lpthreadGC2 -lkernel32 -luser32 -lgdi32 -lregex
+    -lwsock32 -liphlpapi -lpthread -lkernel32 -luser32 -lgdi32 -lregex
   DYLIB_LDFLAGS = -shared
   STRIP = strip --strip-unneeded -R .note -R .comment
 endif
-- 
GitLab