feature: we now search LuaJIT bytecode files .ljbc before Lua source files *.lua in the default Lua module search paths.
This commit is contained in:
parent
b81a5cea66
commit
bc2068420c
|
@ -842,7 +842,7 @@ int main(void) {
|
||||||
print $in <<"_EOC_";
|
print $in <<"_EOC_";
|
||||||
|
|
||||||
ngx_lua_dquote='"'
|
ngx_lua_dquote='"'
|
||||||
CFLAGS="\$CFLAGS -DLUA_DEFAULT_PATH='\${ngx_lua_dquote}$site_lualib_prefix/?.lua;$site_lualib_prefix/?/init.lua;$lualib_prefix/?.lua;$lualib_prefix/?/init.lua\$ngx_lua_dquote'"
|
CFLAGS="\$CFLAGS -DLUA_DEFAULT_PATH='\${ngx_lua_dquote}$site_lualib_prefix/?.ljbc;$site_lualib_prefix/?/init.ljbc;$lualib_prefix/?.ljbc;$lualib_prefix/?/init.ljbc;$site_lualib_prefix/?.lua;$site_lualib_prefix/?/init.lua;$lualib_prefix/?.lua;$lualib_prefix/?/init.lua\$ngx_lua_dquote'"
|
||||||
CFLAGS="\$CFLAGS -DLUA_DEFAULT_CPATH='\${ngx_lua_dquote}$site_lualib_prefix/?.so;$lualib_prefix/?.so\$ngx_lua_dquote'"
|
CFLAGS="\$CFLAGS -DLUA_DEFAULT_CPATH='\${ngx_lua_dquote}$site_lualib_prefix/?.so;$lualib_prefix/?.so\$ngx_lua_dquote'"
|
||||||
_EOC_
|
_EOC_
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue