diff --git a/packages/liblua/build.sh b/packages/liblua/build.sh index 69e772db0..1f7347bba 100644 --- a/packages/liblua/build.sh +++ b/packages/liblua/build.sh @@ -1,6 +1,7 @@ TERMUX_PKG_HOMEPAGE=https://www.lua.org/ TERMUX_PKG_DESCRIPTION="Shared library for the Lua interpreter" TERMUX_PKG_VERSION=5.3.4 +TERMUX_PKG_REVISION=1 TERMUX_PKG_SRCURL=https://www.lua.org/ftp/lua-${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_SHA256=f681aa518233bc407e23acf0f5887c884f17436f000d453b2491a9f11a52400c TERMUX_PKG_EXTRA_MAKE_ARGS=linux @@ -10,7 +11,7 @@ TERMUX_PKG_REPLACES=libluajit termux_step_pre_configure () { AR+=" rcu" - CFLAGS+=" -fPIC" + CFLAGS+=" -fPIC -DLUA_COMPAT_5_2" } termux_step_post_make_install() {