aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2010-05-05 16:32:59 +0100
committerPaul Brook <paul@codesourcery.com>2010-05-05 16:32:59 +0100
commit048d179f20c1499c7f55957df125392de664b6a7 (patch)
treefce3911b23b4b7c0c166b89e3960f5758e2faa80
parenta73b1fd9afe937d70be82a0b3994c8844c072085 (diff)
Avoid libaio for usermode
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>
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index 87942f4902..36d028fef6 100755
--- 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"