2013-10-23 19:23:40 +02:00
|
|
|
Index: lua-5.1.5/src/luaconf.h
|
|
|
|
===================================================================
|
|
|
|
--- lua-5.1.5.orig/src/luaconf.h
|
|
|
|
+++ lua-5.1.5/src/luaconf.h
|
|
|
|
@@ -95,13 +95,17 @@
|
2012-01-07 15:58:03 +01:00
|
|
|
|
|
|
|
#else
|
|
|
|
#define LUA_ROOT "/usr/local/"
|
|
|
|
+#define LUA_ROOT2 "/usr/"
|
|
|
|
#define LUA_LDIR LUA_ROOT "share/lua/5.1/"
|
|
|
|
+#define LUA_LDIR2 LUA_ROOT2 "share/lua/5.1/"
|
|
|
|
#define LUA_CDIR LUA_ROOT "lib/lua/5.1/"
|
|
|
|
+#define LUA_CDIR2 LUA_ROOT2 "LIBDIR/lua/5.1/"
|
|
|
|
#define LUA_PATH_DEFAULT \
|
|
|
|
"./?.lua;" LUA_LDIR"?.lua;" LUA_LDIR"?/init.lua;" \
|
|
|
|
- LUA_CDIR"?.lua;" LUA_CDIR"?/init.lua"
|
|
|
|
+ LUA_CDIR"?.lua;" LUA_CDIR"?/init.lua;" \
|
|
|
|
+ LUA_LDIR2"?.lua;" LUA_LDIR2"?/init.lua"
|
|
|
|
#define LUA_CPATH_DEFAULT \
|
|
|
|
- "./?.so;" LUA_CDIR"?.so;" LUA_CDIR"loadall.so"
|
|
|
|
+ "./?.so;" LUA_CDIR"?.so;" LUA_CDIR2"?.so;" LUA_CDIR"loadall.so"
|
|
|
|
#endif
|
2013-10-23 19:23:40 +02:00
|
|
|
|
|
|
|
|