0afc826fc0
Not having SYSCFLAGS caused LUA_USE_LINUX to be lost, and io.popen (and probably other things) was not enabled. Fixes #552.
14 lines
414 B
Bash
14 lines
414 B
Bash
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=3
|
|
TERMUX_PKG_SRCURL=http://www.lua.org/ftp/lua-${TERMUX_PKG_VERSION}.tar.gz
|
|
TERMUX_PKG_DEPENDS="readline"
|
|
TERMUX_PKG_EXTRA_MAKE_ARGS=linux
|
|
TERMUX_PKG_BUILD_IN_SRC=yes
|
|
|
|
termux_step_pre_configure () {
|
|
AR="$AR rcu"
|
|
LDFLAGS="$LDFLAGS -lm"
|
|
}
|