55bdb7d01a
[thomas.petazzoni@free-electrons.com: rewrote the patch, which was corrupted in the original submission. Used quilt to refresh the Lua patches, so that the version numbers are no longer present in the file names] Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
18 lines
574 B
Diff
18 lines
574 B
Diff
Index: b/src/luaconf.h
|
|
===================================================================
|
|
--- a/src/luaconf.h
|
|
+++ b/src/luaconf.h
|
|
@@ -94,9 +94,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"
|