diff options
-rw-r--r-- | source3/configure.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/configure.in b/source3/configure.in index 91f582143c..652bd390ee 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -5134,6 +5134,7 @@ AC_ARG_WITH(aio-support, AC_MSG_RESULT(yes) case "$host_os" in *) + AIO_LIBS=$LIBS AC_CHECK_LIB(rt,aio_read,[AIO_LIBS="$LIBS -lrt"]) AC_CHECK_LIB(aio,aio_read,[AIO_LIBS="$LIBS -laio"]) AC_CACHE_CHECK([for asynchronous io support],samba_cv_HAVE_AIO,[ |