summaryrefslogtreecommitdiffhomepage
path: root/auto/lib/zlib
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-05-11 18:02:06 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-05-11 18:02:06 +0000
commit3d746ac4f02807196373e641b10c8f284ccb7646 (patch)
treeebeef14e954da88c5b0e4afb6cb011e9c7fba798 /auto/lib/zlib
parentec9f47175ef9acd7299c6c0c0b707113e178bbaf (diff)
downloadnginx-3d746ac4f02807196373e641b10c8f284ccb7646.tar.gz
nginx-3d746ac4f02807196373e641b10c8f284ccb7646.tar.bz2
use $(CURDIR) instead of "..\..\.." because the later does not allow to use
options as --with-zlib=../zlib-1.2.3. It seems there is no common way to learn the current directory in Win32 make's: although nmake has MAKEDIR variable, nevertheless Borland make's MAKEDIR is the directory where make is installed, and OpenWatcom wmake has no MAKEDIR at all.
Diffstat (limited to 'auto/lib/zlib')
-rw-r--r--auto/lib/zlib/make2
1 files changed, 1 insertions, 1 deletions
diff --git a/auto/lib/zlib/make b/auto/lib/zlib/make
index 715d2cf96..74e6f9ac7 100644
--- a/auto/lib/zlib/make
+++ b/auto/lib/zlib/make
@@ -36,7 +36,7 @@ case "$NGX_PLATFORM" in
`echo "$ZLIB/zlib.lib: $NGX_MAKEFILE" | sed -e "s/\//$ngx_regex_dirsep/g"`
cd `echo $ZLIB | sed -e "s/\//$ngx_regex_dirsep/g"`
\$(MAKE) -f $ngx_makefile $ngx_opt
- cd ..\\..\\..
+ cd \$(CURDIR)
END