diff options
Diffstat (limited to 'auto/os')
| -rw-r--r-- | auto/os/linux | 3 | ||||
| -rw-r--r-- | auto/os/solaris | 1 |
2 files changed, 2 insertions, 2 deletions
diff --git a/auto/os/linux b/auto/os/linux index a488c4de1..bf5092aba 100644 --- a/auto/os/linux +++ b/auto/os/linux @@ -9,8 +9,7 @@ ZLIB_LIB="-lz" # TODO check sendfile64() -#CC_TEST_FLAGS="-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE" -CC_TEST_FLAGS="-D_GNU_SOURCE" +CC_TEST_FLAGS="-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE" # STUB CORE_SRCS="$CORE_SRCS $LINUX_SENDFILE_SRCS" diff --git a/auto/os/solaris b/auto/os/solaris index 008eda655..6bc2a6f82 100644 --- a/auto/os/solaris +++ b/auto/os/solaris @@ -22,6 +22,7 @@ fi NGX_FUNC_INC="#include <sys/sendfile.h>" +NGX_FUNC_LIBS="-lsendfile" NGX_FUNC_TEST="int fd = 1; sendfilevec_t vec[1]; size_t sent = 1; ssize_t n; n = sendfilev(fd, vec, 1, &sent)" |
