diff options
Diffstat (limited to '')
| -rw-r--r-- | auto/lib/zlib/conf | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/auto/lib/zlib/conf b/auto/lib/zlib/conf index 9c2178fad..37c1fa7ef 100644 --- a/auto/lib/zlib/conf +++ b/auto/lib/zlib/conf @@ -35,8 +35,11 @@ if [ $ZLIB != NONE ]; then else if [ $PLATFORM != win32 ]; then - ngx_lib_inc="#include <zlib.h>" + # FreeBSD, Solaris, Linux + + ngx_lib_cflags= + ngx_lib_inc="#include <zlib.h>" ngx_lib="zlib library" ngx_lib_test="z_stream z; deflate(&z, Z_NO_FLUSH)" ngx_libs=-lz |
