Commit 4259e1a5663830523c842b28462622705a260144
1 parent
05e1d830
Add -lpthread flag.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3538 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
2 additions
and
1 deletions
configure
@@ -312,7 +312,8 @@ done | @@ -312,7 +312,8 @@ done | ||
312 | if [ "$bsd" = "yes" -o "$darwin" = "yes" -o "$mingw32" = "yes" ] ; then | 312 | if [ "$bsd" = "yes" -o "$darwin" = "yes" -o "$mingw32" = "yes" ] ; then |
313 | AIOLIBS= | 313 | AIOLIBS= |
314 | else | 314 | else |
315 | - AIOLIBS="-lrt" | 315 | + # Some Linux architectures (e.g. s390) don't imply -lpthread automatically. |
316 | + AIOLIBS="-lrt -lpthread" | ||
316 | fi | 317 | fi |
317 | 318 | ||
318 | # default flags for all hosts | 319 | # default flags for all hosts |