* [Qemu-devel] [PATCH] Set PTHREADLIBS to "-lpthreadGC2" for MinGW
@ 2009-04-26 11:51 Sebastian Herbszt
0 siblings, 0 replies; only message in thread
From: Sebastian Herbszt @ 2009-04-26 11:51 UTC (permalink / raw)
To: qemu-devel; +Cc: herbszt
MinGW with pthreads-w32 requires "-lpthreadGC2" instead of "-lpthread".
Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
--- 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-04-26 11:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-26 11:51 [Qemu-devel] [PATCH] Set PTHREADLIBS to "-lpthreadGC2" for MinGW Sebastian Herbszt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).