mirror of
https://github.com/openresty/openresty.git
synced 2024-10-13 00:29:41 +00:00
upgraded lua-cjson to 1.0.3; released ngx_openresty 1.0.6.9.
This commit is contained in:
4
util/configure
vendored
4
util/configure
vendored
@ -590,10 +590,10 @@ _EOC_
|
||||
if ($on_solaris) {
|
||||
$extra_opts .= " INSTALL=$root_dir/build/install";
|
||||
if ($opts->{debug}) {
|
||||
$extra_opts .= " CFLAGS=\"-g -O0 -Wall -pedantic -D'isinf(x)=0'\"";
|
||||
$extra_opts .= " CFLAGS=\"-g -O0 -Wall -pedantic -DMISSING_ISINF\"";
|
||||
|
||||
} else {
|
||||
$extra_opts .= " CFLAGS=\"-g -O3 -Wall -pedantic -D'isinf(x)=0'\"";
|
||||
$extra_opts .= " CFLAGS=\"-g -O3 -Wall -pedantic -DMISSING_ISINF\"";
|
||||
}
|
||||
|
||||
} else {
|
||||
|
@ -210,11 +210,11 @@ cd ..
|
||||
|
||||
#################################
|
||||
|
||||
ver=1.0.2
|
||||
ver=1.0.3
|
||||
$root/util/get-tarball "http://www.kyne.com.au/~mark/software/lua-cjson-$ver.tar.gz" -O "lua-cjson-$ver.tar.gz" || exit 1
|
||||
tar -xzf lua-cjson-$ver.tar.gz || exit 1
|
||||
cd lua-cjson-$ver || exit 1
|
||||
patch -p1 < $root/patches/lua_cjson-$ver-array_detection_fix.patch || exit 1
|
||||
#patch -p1 < $root/patches/lua_cjson-$ver-array_detection_fix.patch || exit 1
|
||||
cd ..
|
||||
|
||||
#################################
|
||||
|
Reference in New Issue
Block a user