erlang: Configure with `erl_xcomp_sysroot`
This commit is contained in:
parent
9457852c41
commit
ba08687e42
|
@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="General-purpose concurrent functional programming langua
|
|||
TERMUX_PKG_LICENSE="Apache-2.0"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION=24.1.7
|
||||
TERMUX_PKG_REVISION=1
|
||||
TERMUX_PKG_SRCURL=https://github.com/erlang/otp/archive/OTP-$TERMUX_PKG_VERSION.tar.gz
|
||||
TERMUX_PKG_SHA256=a1dd1a238f1f3e79784b902f3cd00e06f35a630191eaf73324a07a26a2c93af3
|
||||
TERMUX_PKG_AUTO_UPDATE=true
|
||||
|
@ -11,7 +12,12 @@ TERMUX_PKG_DEPENDS="openssl, ncurses, zlib"
|
|||
TERMUX_PKG_NO_STATICSPLIT=true
|
||||
TERMUX_PKG_HOSTBUILD=true
|
||||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--without-javac --with-ssl=${TERMUX_PREFIX} --with-termcap"
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
||||
--without-javac
|
||||
--with-ssl=${TERMUX_PREFIX}
|
||||
--with-termcap
|
||||
erl_xcomp_sysroot=${TERMUX_PERFIX}
|
||||
"
|
||||
|
||||
termux_step_post_get_source() {
|
||||
# We need a host build every time, because we dont know the full output of host build and have no idea to cache it.
|
||||
|
|
Loading…
Reference in New Issue