mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 06:33:41 +00:00
4ebf19b48f
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37007
16 lines
483 B
Diff
16 lines
483 B
Diff
--- a/src/luaconf.h
|
|
+++ b/src/luaconf.h
|
|
@@ -95,9 +95,9 @@
|
|
".\\?.dll;" LUA_CDIR"?.dll;" LUA_CDIR"loadall.dll"
|
|
|
|
#else
|
|
-#define LUA_ROOT "/usr/local/"
|
|
-#define LUA_LDIR LUA_ROOT "share/lua/5.1/"
|
|
-#define LUA_CDIR LUA_ROOT "lib/lua/5.1/"
|
|
+#define LUA_ROOT "/usr/"
|
|
+#define LUA_LDIR LUA_ROOT "share/lua/"
|
|
+#define LUA_CDIR LUA_ROOT "lib/lua/"
|
|
#define LUA_PATH_DEFAULT \
|
|
"./?.lua;" LUA_LDIR"?.lua;" LUA_LDIR"?/init.lua;" \
|
|
LUA_CDIR"?.lua;" LUA_CDIR"?/init.lua"
|