tools: refresh patches for tools
[openwrt/svn-archive/archive.git] / tools / lua / patches / 200-lua-path.patch
1 --- a/src/luaconf.h
2 +++ b/src/luaconf.h
3 @@ -95,9 +95,9 @@
4 ".\\?.dll;" LUA_CDIR"?.dll;" LUA_CDIR"loadall.dll"
5
6 #else
7 -#define LUA_ROOT "/usr/local/"
8 -#define LUA_LDIR LUA_ROOT "share/lua/5.1/"
9 -#define LUA_CDIR LUA_ROOT "lib/lua/5.1/"
10 +#define LUA_ROOT "/usr/"
11 +#define LUA_LDIR LUA_ROOT "share/lua/"
12 +#define LUA_CDIR LUA_ROOT "lib/lua/"
13 #define LUA_PATH_DEFAULT \
14 "./?.lua;" LUA_LDIR"?.lua;" LUA_LDIR"?/init.lua;" \
15 LUA_CDIR"?.lua;" LUA_CDIR"?/init.lua"