0001-root-path.patch 863 B

12345678910111213141516171819202122232425262728293031
  1. Adjust installation location to /usr.
  2. Upstream: N/A specific for Buildroot build
  3. Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
  4. Index: b/etc/lua.pc
  5. ===================================================================
  6. --- a/etc/lua.pc
  7. +++ b/etc/lua.pc
  8. @@ -8,7 +8,7 @@
  9. R= 5.1.5
  10. # grep '^INSTALL_.*=' ../Makefile | sed 's/INSTALL_TOP/prefix/'
  11. -prefix= /usr/local
  12. +prefix= /usr
  13. INSTALL_BIN= ${prefix}/bin
  14. INSTALL_INC= ${prefix}/include
  15. INSTALL_LIB= ${prefix}/lib
  16. Index: b/src/luaconf.h
  17. ===================================================================
  18. --- a/src/luaconf.h
  19. +++ b/src/luaconf.h
  20. @@ -94,7 +94,7 @@
  21. ".\\?.dll;" LUA_CDIR"?.dll;" LUA_CDIR"loadall.dll"
  22. #else
  23. -#define LUA_ROOT "/usr/local/"
  24. +#define LUA_ROOT "/usr/"
  25. #define LUA_LDIR LUA_ROOT "share/lua/5.1/"
  26. #define LUA_CDIR LUA_ROOT "lib/lua/5.1/"
  27. #define LUA_PATH_DEFAULT \