Tomáš Chvátal 2017-07-11 09:54:44 +00:00 committed by Git OBS Bridge
parent 1d96fa0a1c
commit 1bbdf99968

View File

@ -150,12 +150,15 @@ Index: lua-5.3.4/src/luaconf.h
=================================================================== ===================================================================
--- lua-5.3.4.orig/src/luaconf.h --- lua-5.3.4.orig/src/luaconf.h
+++ lua-5.3.4/src/luaconf.h +++ lua-5.3.4/src/luaconf.h
@@ -200,7 +200,7 @@ @@ -200,9 +200,9 @@
#else /* }{ */ #else /* }{ */
-#define LUA_ROOT "/usr/local/" -#define LUA_ROOT "/usr/local/"
+#define LUA_ROOT "/usr/" +#define LUA_ROOT "/usr/"
#define LUA_LDIR LUA_ROOT "share/lua/" LUA_VDIR "/" #define LUA_LDIR LUA_ROOT "share/lua/" LUA_VDIR "/"
#define LUA_CDIR LUA_ROOT "lib/lua/" LUA_VDIR "/" -#define LUA_CDIR LUA_ROOT "lib/lua/" LUA_VDIR "/"
+#define LUA_CDIR LUA_ROOT "LIBDIR/lua/" LUA_VDIR "/"
#define LUA_PATH_DEFAULT \ #define LUA_PATH_DEFAULT \
LUA_LDIR"?.lua;" LUA_LDIR"?/init.lua;" \
LUA_CDIR"?.lua;" LUA_CDIR"?/init.lua;" \