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>
This commit is contained in:
parent
a73b1fd9af
commit
048d179f20
3
configure
vendored
3
configure
vendored
@ -1579,7 +1579,8 @@ int main(void) { io_setup(0, NULL); io_set_eventfd(NULL, 0); eventfd(0, 0); retu
|
|||||||
EOF
|
EOF
|
||||||
if compile_prog "" "-laio" ; then
|
if compile_prog "" "-laio" ; then
|
||||||
linux_aio=yes
|
linux_aio=yes
|
||||||
LIBS="$LIBS -laio"
|
libs_softmmu="$libs_softmmu -laio"
|
||||||
|
libs_tools="$libs_tools -laio"
|
||||||
else
|
else
|
||||||
if test "$linux_aio" = "yes" ; then
|
if test "$linux_aio" = "yes" ; then
|
||||||
feature_not_found "linux AIO"
|
feature_not_found "linux AIO"
|
||||||
|
Loading…
Reference in New Issue
Block a user