All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH][RESEND] Set PTHREADLIBS to "-lpthreadGC2" for MinGW
@ 2009-05-17 12:21 Sebastian Herbszt
  2009-05-17 13:39 ` JonY
  0 siblings, 1 reply; 4+ messages in thread
From: Sebastian Herbszt @ 2009-05-17 12:21 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] 4+ messages in thread

end of thread, other threads:[~2009-05-17 18:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-17 12:21 [Qemu-devel] [PATCH][RESEND] Set PTHREADLIBS to "-lpthreadGC2" for MinGW Sebastian Herbszt
2009-05-17 13:39 ` JonY
2009-05-17 18:06   ` Jamie Lokier
2009-05-17 18:54     ` Sebastian Herbszt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.