From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M5fMv-0003wu-FE for qemu-devel@nongnu.org; Sun, 17 May 2009 08:21:29 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M5fMp-0003sI-RF for qemu-devel@nongnu.org; Sun, 17 May 2009 08:21:28 -0400 Received: from [199.232.76.173] (port=47952 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M5fMp-0003s5-ML for qemu-devel@nongnu.org; Sun, 17 May 2009 08:21:23 -0400 Received: from mail.gmx.net ([213.165.64.20]:51343) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1M5fMo-0007pG-UY for qemu-devel@nongnu.org; Sun, 17 May 2009 08:21:23 -0400 Date: Sun, 17 May 2009 14:21:10 +0200 Message-Id: <1242562870$1643@local> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit From: Sebastian Herbszt Subject: [Qemu-devel] [PATCH][RESEND] Set PTHREADLIBS to "-lpthreadGC2" for MinGW List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: herbszt@gmx.de MinGW with pthreads-w32 requires "-lpthreadGC2" instead of "-lpthread". Signed-off-by: Sebastian Herbszt --- 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