2012-07-18 15:59:10 +02:00
|
|
|
Adjust installation location to /usr
|
|
|
|
|
|
|
|
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
|
|
|
|
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
|
|
|
|
|
|
|
Index: b/src/luaconf.h
|
|
|
|
===================================================================
|
|
|
|
--- a/src/luaconf.h
|
|
|
|
+++ b/src/luaconf.h
|
2012-10-18 10:56:39 +02:00
|
|
|
@@ -26,9 +26,9 @@
|
|
|
|
** Note to distribution maintainers: do NOT patch the following line!
|
|
|
|
** Please read ../doc/install.html#distro and pass PREFIX=/usr instead.
|
|
|
|
*/
|
2012-07-18 15:59:10 +02:00
|
|
|
-#define LUA_ROOT "/usr/local/"
|
|
|
|
-#define LUA_LDIR LUA_ROOT "share/lua/5.1/"
|
|
|
|
-#define LUA_CDIR LUA_ROOT "lib/lua/5.1/"
|
|
|
|
+#define LUA_ROOT "/usr/"
|
|
|
|
+#define LUA_LDIR LUA_ROOT "share/lua/"
|
|
|
|
+#define LUA_CDIR LUA_ROOT "lib/lua/"
|
|
|
|
#ifdef LUA_XROOT
|
2012-12-03 07:12:12 +01:00
|
|
|
#define LUA_JDIR LUA_XROOT "share/luajit-2.0.0/"
|
2012-07-18 15:59:10 +02:00
|
|
|
#define LUA_XPATH \
|