2
1

lua-root-path.patch 574 B

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