Set PTHREADLIBS to "-lpthreadGC2" for MinGW
PATCH 1/1 Set PTHREADLIBS to "-lpthreadGC2" for MinGW
MinGW with pthreads-w32 requires "-lpthreadGC2" instead of "-lpthread".
Signed-off-by Sebastian Herbszt <[email protected]>
configure renamed from configure.orig +3 -0
@@ -1143,6 +1143,9 @@ if $cc $ARCH_CFLAGS -o $TMPE $PTHREADLIBS $TMPC 2> /dev/null ; then pthread=yes PTHREADLIBS="-lpthread" + if test "$mingw32" = "yes" ; then + PTHREADLIBS="-lpthreadGC2" + fi fi fi