]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
Avoid libaio for usermode
authorPaul Brook <paul@codesourcery.com>
Wed, 5 May 2010 15:32:59 +0000 (16:32 +0100)
committerPaul Brook <paul@codesourcery.com>
Wed, 5 May 2010 15:32:59 +0000 (16:32 +0100)
Linux AIO is aonly used by system emulation, so should not be linked into
the userspace emulatior.

Signed-off-by: Paul Brook <paul@codesourcery.com>
configure

index 87942f490208341932ff611fdb2a01018fb1c710..36d028fef69301ea33aea8913658cf69e5995c99 100755 (executable)
--- a/configure
+++ b/configure
@@ -1579,7 +1579,8 @@ int main(void) { io_setup(0, NULL); io_set_eventfd(NULL, 0); eventfd(0, 0); retu
 EOF
   if compile_prog "" "-laio" ; then
     linux_aio=yes
-    LIBS="$LIBS -laio"
+    libs_softmmu="$libs_softmmu -laio"
+    libs_tools="$libs_tools -laio"
   else
     if test "$linux_aio" = "yes" ; then
       feature_not_found "linux AIO"