Files
main/programming/language/lua51/files/0001-Use-usr-not-usr-local.patch
T

22 lines
631 B
Diff

From cc96b1f12a6549559274c6e7359edd576a55e4d2 Mon Sep 17 00:00:00 2001
From: Ikey Doherty <ikey@evolve-os.com>
Date: Sat, 24 Jan 2015 10:42:47 +0000
Subject: [PATCH] Use /usr, not /usr/local.
---
src/luaconf.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/luaconf.h b/src/luaconf.h
index e2cb261..19692f3 100644
--- a/src/luaconf.h
+++ b/src/luaconf.h
@@ -94,7 +94,7 @@
".\\?.dll;" LUA_CDIR"?.dll;" LUA_CDIR"loadall.dll"
#else
-#define LUA_ROOT "/usr/local/"
+#define LUA_ROOT "/usr/"
#define LUA_LDIR LUA_ROOT "share/lua/5.1/"
#define LUA_CDIR LUA_ROOT "lib/lua/5.1/"
#define LUA_PATH_DEFAULT \
--
1.8.4