aboutsummaryrefslogtreecommitdiff
path: root/auto/lib/zlib/conf
diff options
context:
space:
mode:
Diffstat (limited to 'auto/lib/zlib/conf')
-rw-r--r--auto/lib/zlib/conf3
1 files changed, 2 insertions, 1 deletions
diff --git a/auto/lib/zlib/conf b/auto/lib/zlib/conf
index 8edd3f371..3123c669a 100644
--- a/auto/lib/zlib/conf
+++ b/auto/lib/zlib/conf
@@ -21,6 +21,7 @@ if [ $ZLIB != NONE ]; then
CORE_LIBS="$CORE_LIBS $ZLIB/deflate.o"
CORE_LIBS="$CORE_LIBS $ZLIB/trees.o"
CORE_LIBS="$CORE_LIBS $ZLIB/zutil.o"
+ CORE_LIBS="$CORE_LIBS $ZLIB/compress.o"
if [ $ZLIB_ASM != NO ]; then
CORE_LIBS="$CORE_LIBS $ZLIB/match.o"
@@ -37,7 +38,7 @@ if [ $ZLIB != NONE ]; then
else
- if [ $NGX_PLATFORM != win32 ]; then
+ if [ "$NGX_PLATFORM" != win32 ]; then
ZLIB=NO
# FreeBSD, Solaris, Linux