diff options
author | Igor Sysoev <igor@sysoev.ru> | 2009-05-10 23:49:14 +0400 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2009-05-10 23:49:14 +0400 |
commit | ec43d91a5846febc5fc80f9b884299ea935d7c45 (patch) | |
tree | ce26fc667aad0f0926519de77d3847d2c97c1d92 | |
parent | 393ce88261bbdbf681c1043d57f2116910fe8a12 (diff) |
backout -r2827 and add correct fix
-rwxr-xr-x | auto/configure | 6 | ||||
-rw-r--r-- | auto/os/conf | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/auto/configure b/auto/configure index 9a72db42f..5e9c262bd 100755 --- a/auto/configure +++ b/auto/configure @@ -31,6 +31,12 @@ if test -z "$NGX_PLATFORM"; then NGX_PLATFORM="$NGX_SYSTEM:$NGX_RELEASE:$NGX_MACHINE"; + case "$NGX_SYSTEM" in + MINGW32_*) + NGX_PLATFORM=win32 + ;; + esac + else echo "building for $NGX_PLATFORM" NGX_SYSTEM=$NGX_PLATFORM diff --git a/auto/os/conf b/auto/os/conf index 9bd5ee3c3..f4d08cb42 100644 --- a/auto/os/conf +++ b/auto/os/conf @@ -22,7 +22,7 @@ case "$NGX_PLATFORM" in . auto/os/darwin ;; - win32 | MINGW32_* ) + win32) . auto/os/win32 ;; |