From 3d746ac4f02807196373e641b10c8f284ccb7646 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Mon, 11 May 2009 18:02:06 +0000 Subject: 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. --- auto/lib/zlib/make | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'auto/lib/zlib') 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 -- cgit