From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ly2ti-0002eG-3V for qemu-devel@nongnu.org; Sun, 26 Apr 2009 07:51:50 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ly2td-0002cr-B6 for qemu-devel@nongnu.org; Sun, 26 Apr 2009 07:51:49 -0400 Received: from [199.232.76.173] (port=48186 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ly2td-0002co-6N for qemu-devel@nongnu.org; Sun, 26 Apr 2009 07:51:45 -0400 Received: from mail.gmx.net ([213.165.64.20]:41408) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Ly2tc-0004sL-J3 for qemu-devel@nongnu.org; Sun, 26 Apr 2009 07:51:45 -0400 Date: Sun, 26 Apr 2009 13:51:33 +0200 Message-Id: <1240746693$3461@local> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit From: Sebastian Herbszt Subject: [Qemu-devel] [PATCH] 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