Browse Source

lua: Build with -DLUA_COMPAT_5_2

android-5
Fredrik Fornwall 8 years ago
parent
commit
5fef7d299b
  1. 3
      packages/liblua/build.sh

3
packages/liblua/build.sh

@ -1,6 +1,7 @@
TERMUX_PKG_HOMEPAGE=https://www.lua.org/ TERMUX_PKG_HOMEPAGE=https://www.lua.org/
TERMUX_PKG_DESCRIPTION="Shared library for the Lua interpreter" TERMUX_PKG_DESCRIPTION="Shared library for the Lua interpreter"
TERMUX_PKG_VERSION=5.3.4 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_SRCURL=https://www.lua.org/ftp/lua-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=f681aa518233bc407e23acf0f5887c884f17436f000d453b2491a9f11a52400c TERMUX_PKG_SHA256=f681aa518233bc407e23acf0f5887c884f17436f000d453b2491a9f11a52400c
TERMUX_PKG_EXTRA_MAKE_ARGS=linux TERMUX_PKG_EXTRA_MAKE_ARGS=linux
@ -10,7 +11,7 @@ TERMUX_PKG_REPLACES=libluajit
termux_step_pre_configure () { termux_step_pre_configure () {
AR+=" rcu" AR+=" rcu"
CFLAGS+=" -fPIC" CFLAGS+=" -fPIC -DLUA_COMPAT_5_2"
} }
termux_step_post_make_install() { termux_step_post_make_install() {

Loading…
Cancel
Save