From 4a67d598527a570c42910e2b644ff501597febee Mon Sep 17 00:00:00 2001 From: Andrej Kacian Date: Tue, 30 Jun 2015 14:04:43 +0200 Subject: [PATCH 1/1] Windows build needs to link against pthread, not pthreadGC2. We dropped the pthreadGC2 library, and are using Mingw's pthreads instead. --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index d8e326014..0ce8dd9fa 100644 --- a/configure.ac +++ b/configure.ac @@ -178,10 +178,10 @@ case "$target" in CFLAGS="$CFLAGS -no-cpp-precomp -fno-common" ;; *-*-mingw*) - # Note that we need to link to pthreadGC2 in all cases. This + # Note that we need to link to pthread in all cases. This # is because some locking is used even when pthread support is # disabled. - pthread_name=pthreadGC2 + pthread_name=pthread CFLAGS="$CFLAGS -mms-bitfields" LIBS="$LIBS -l${pthread_name} -lws2_32 -lregex" ;; -- 2.25.1