From: Sebastian Herbszt <herbszt@gmx.de>
To: qemu-devel@nongnu.org
Cc: herbszt@gmx.de
Subject: [Qemu-devel] [PATCH] Set PTHREADLIBS to "-lpthreadGC2" for MinGW
Date: Sun, 26 Apr 2009 13:51:33 +0200 [thread overview]
Message-ID: <1240746693$3461@local> (raw)
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
reply other threads:[~2009-04-26 11:51 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='1240746693$3461@local' \
--to=herbszt@gmx.de \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).