now we upgrade to ngx_lua v0.1.6rc3 to support mac os x 64-bit better and make configure script detect macosx for darwin system correctly.
This commit is contained in:
parent
2a69e79c08
commit
96f79efed5
|
@ -37,7 +37,7 @@ if ($OS =~ /solaris|sunos/i) {
|
|||
} elsif ($OS eq 'MSWin32') {
|
||||
die "MS Windows not supported. Abort.\n";
|
||||
|
||||
} elsif ($OS =~ /^(?:MacOS|rhapsody)$/) {
|
||||
} elsif ($OS =~ /^(?:MacOS|darwin|rhapsody)$/) {
|
||||
$platform = 'macosx';
|
||||
|
||||
} elsif ($OS eq 'freebsd') {
|
||||
|
@ -50,6 +50,8 @@ if ($OS =~ /solaris|sunos/i) {
|
|||
$platform = 'posix';
|
||||
}
|
||||
|
||||
warn "Platform: $platform ($OS)\n";
|
||||
|
||||
my @modules = (
|
||||
[http_iconv => 'iconv-nginx-module', 'disabled'],
|
||||
[http_echo => 'echo-nginx-module'],
|
||||
|
|
|
@ -78,7 +78,7 @@ mv chaoslawful-drizzle-nginx-module-* drizzle-nginx-module-$ver || exit 1
|
|||
|
||||
#################################
|
||||
|
||||
ver=0.1.6rc2
|
||||
ver=0.1.6rc3
|
||||
$root/util/get-tarball "http://github.com/chaoslawful/lua-nginx-module/tarball/v$ver" -O lua-nginx-module-$ver.tar.gz || exit 1
|
||||
tar -xzf lua-nginx-module-$ver.tar.gz || exit 1
|
||||
mv chaoslawful-lua-nginx-module-* ngx_lua-$ver || exit 1
|
||||
|
|
Loading…
Reference in New Issue