aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-05 13:27:21 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-05 13:27:21 +0000
commit4259e1a5663830523c842b28462622705a260144 (patch)
tree52002b8e4ad82ceb1de73c3be12d0c1173b87458 /configure
parent05e1d83049e295383d40c5d9015c0e0f0f672baf (diff)
Add -lpthread flag.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3538 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index c8a78b9693..8eb4e7458b 100755
--- a/configure
+++ b/configure
@@ -312,7 +312,8 @@ done
if [ "$bsd" = "yes" -o "$darwin" = "yes" -o "$mingw32" = "yes" ] ; then
AIOLIBS=
else
- AIOLIBS="-lrt"
+ # Some Linux architectures (e.g. s390) don't imply -lpthread automatically.
+ AIOLIBS="-lrt -lpthread"
fi
# default flags for all hosts