lua: Fix LUA_ROOT to end with a slash

This commit is contained in:
Fredrik Fornwall 2016-10-25 18:58:13 -04:00
parent 615d4e6375
commit 256369421a
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
TERMUX_PKG_HOMEPAGE=http://www.lua.org/
TERMUX_PKG_DESCRIPTION="Powerful, fast, lightweight, embeddable scripting language"
TERMUX_PKG_VERSION=5.3.3
TERMUX_PKG_BUILD_REVISION=1
TERMUX_PKG_BUILD_REVISION=2
TERMUX_PKG_SRCURL=http://www.lua.org/ftp/lua-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_DEPENDS="readline"
TERMUX_PKG_EXTRA_MAKE_ARGS=linux

View File

@ -6,7 +6,7 @@ diff -u -r ../lua-5.3.0/src/luaconf.h ./src/luaconf.h
#else /* }{ */
-#define LUA_ROOT "/usr/local/"
+#define LUA_ROOT "@TERMUX_PREFIX@"
+#define LUA_ROOT "@TERMUX_PREFIX@/"
#define LUA_LDIR LUA_ROOT "share/lua/" LUA_VDIR "/"
#define LUA_CDIR LUA_ROOT "lib/lua/" LUA_VDIR "/"
#define LUA_PATH_DEFAULT \