200-lua-path.patch 483 B

123456789101112131415
  1. --- a/src/luaconf.h
  2. +++ b/src/luaconf.h
  3. @@ -95,9 +95,9 @@
  4. ".\\?.dll;" LUA_CDIR"?.dll;" LUA_CDIR"loadall.dll"
  5. #else
  6. -#define LUA_ROOT "/usr/local/"
  7. -#define LUA_LDIR LUA_ROOT "share/lua/5.1/"
  8. -#define LUA_CDIR LUA_ROOT "lib/lua/5.1/"
  9. +#define LUA_ROOT "/usr/"
  10. +#define LUA_LDIR LUA_ROOT "share/lua/"
  11. +#define LUA_CDIR LUA_ROOT "lib/lua/"
  12. #define LUA_PATH_DEFAULT \
  13. "./?.lua;" LUA_LDIR"?.lua;" LUA_LDIR"?/init.lua;" \
  14. LUA_CDIR"?.lua;" LUA_CDIR"?/init.lua"