aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lua/patches/200-lua-path.patch
diff options
context:
space:
mode:
authorSteven Barth <cyrus@openwrt.org>2008-05-30 18:38:14 +0000
committerSteven Barth <cyrus@openwrt.org>2008-05-30 18:38:14 +0000
commit13f0dea188f0827caddc3395c23af760bc0ae6bd (patch)
treeaa452b2e0bee641f2666b6648eb9c5ed8cda13d8 /tools/lua/patches/200-lua-path.patch
parente19528fa6a0bc5a9e9df39ae383f9922345ade0e (diff)
downloadupstream-13f0dea188f0827caddc3395c23af760bc0ae6bd.tar.gz
upstream-13f0dea188f0827caddc3395c23af760bc0ae6bd.tar.bz2
upstream-13f0dea188f0827caddc3395c23af760bc0ae6bd.zip
Added lua (lua host bytecode-compiler) to tools/
SVN-Revision: 11304
Diffstat (limited to 'tools/lua/patches/200-lua-path.patch')
-rw-r--r--tools/lua/patches/200-lua-path.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/lua/patches/200-lua-path.patch b/tools/lua/patches/200-lua-path.patch
new file mode 100644
index 0000000000..62dd00e399
--- /dev/null
+++ b/tools/lua/patches/200-lua-path.patch
@@ -0,0 +1,15 @@
+--- b/src/luaconf.h 2008-05-06 20:10:46.000000000 +0200
++++ a/src/luaconf.h 2008-05-06 20:10:27.000000000 +0200
+@@ -95,9 +95,9 @@
+ ".\\?.dll;" LUA_CDIR"?.dll;" LUA_CDIR"loadall.dll"
+
+ #else
+-#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/"
+ #define LUA_PATH_DEFAULT \
+ "./?.lua;" LUA_LDIR"?.lua;" LUA_LDIR"?/init.lua;" \
+ LUA_CDIR"?.lua;" LUA_CDIR"?/init.lua"