]> xenbits.xensource.com Git - qemu-xen-3.3-testing.git/commitdiff
Add -lpthread flag.
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 5 Nov 2007 13:27:21 +0000 (13:27 +0000)
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 5 Nov 2007 13:27:21 +0000 (13:27 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3538 c046a42c-6fe2-441c-8c8c-71466251a162

configure

index c8a78b9693809a57c44b35852702c0f1fe0781fc..8eb4e7458bf848536030b079a20133b8aefcddc5 100755 (executable)
--- 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