Windows build needs to link against pthread, not pthreadGC2.
authorAndrej Kacian <ticho@claws-mail.org>
Tue, 30 Jun 2015 12:04:43 +0000 (14:04 +0200)
committerAndrej Kacian <ticho@claws-mail.org>
Tue, 30 Jun 2015 12:04:43 +0000 (14:04 +0200)
We dropped the pthreadGC2 library, and are using Mingw's
pthreads instead.

configure.ac

index d8e3260..0ce8dd9 100644 (file)
@@ -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"
        ;;