lua-01-root-path.patch 613 B

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