diff --git a/lua-build-system.patch b/lua-build-system.patch index 2072d8f..e61335a 100644 --- a/lua-build-system.patch +++ b/lua-build-system.patch @@ -150,12 +150,15 @@ Index: lua-5.3.4/src/luaconf.h =================================================================== --- lua-5.3.4.orig/src/luaconf.h +++ lua-5.3.4/src/luaconf.h -@@ -200,7 +200,7 @@ +@@ -200,9 +200,9 @@ #else /* }{ */ -#define LUA_ROOT "/usr/local/" +#define LUA_ROOT "/usr/" #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 \ + LUA_LDIR"?.lua;" LUA_LDIR"?/init.lua;" \ + LUA_CDIR"?.lua;" LUA_CDIR"?/init.lua;" \