[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH][RESEND] Set PTHREADLIBS to "-lpthreadGC2" for MinGW
From: |
Sebastian Herbszt |
Subject: |
[Qemu-devel] [PATCH][RESEND] Set PTHREADLIBS to "-lpthreadGC2" for MinGW |
Date: |
Sun, 17 May 2009 14:21:10 +0200 |
MinGW with pthreads-w32 requires "-lpthreadGC2" instead of "-lpthread".
Signed-off-by: Sebastian Herbszt <address@hidden>
--- qemu-20090426/configure.orig 2009-04-26 13:28:03.000000000 +0200
+++ qemu-20090426/configure 2009-04-26 13:36:09.000000000 +0200
@@ -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
- [Qemu-devel] [PATCH][RESEND] Set PTHREADLIBS to "-lpthreadGC2" for MinGW,
Sebastian Herbszt <=