commit
df54920e4c
|
@ -2,7 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://sourceware.org/libffi/
|
||||||
TERMUX_PKG_DESCRIPTION="Library providing a portable, high level programming interface to various calling conventions"
|
TERMUX_PKG_DESCRIPTION="Library providing a portable, high level programming interface to various calling conventions"
|
||||||
TERMUX_PKG_LICENSE="MIT"
|
TERMUX_PKG_LICENSE="MIT"
|
||||||
TERMUX_PKG_VERSION=3.2.1
|
TERMUX_PKG_VERSION=3.2.1
|
||||||
TERMUX_PKG_REVISION=4
|
TERMUX_PKG_REVISION=5
|
||||||
TERMUX_PKG_SRCURL=ftp://sourceware.org/pub/libffi/libffi-${TERMUX_PKG_VERSION}.tar.gz
|
TERMUX_PKG_SRCURL=ftp://sourceware.org/pub/libffi/libffi-${TERMUX_PKG_VERSION}.tar.gz
|
||||||
TERMUX_PKG_SHA256=d06ebb8e1d9a22d19e38d63fdb83954253f39bedc5d46232a05645685722ca37
|
TERMUX_PKG_SHA256=d06ebb8e1d9a22d19e38d63fdb83954253f39bedc5d46232a05645685722ca37
|
||||||
TERMUX_PKG_BREAKS="libffi-dev"
|
TERMUX_PKG_BREAKS="libffi-dev"
|
||||||
|
@ -15,3 +15,7 @@ termux_step_pre_configure() {
|
||||||
CFLAGS+=" -fno-integrated-as"
|
CFLAGS+=" -fno-integrated-as"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
termux_step_post_configure() {
|
||||||
|
# work around since mmap can't be written and marked executable in android anymore from userspace
|
||||||
|
echo "#define FFI_MMAP_EXEC_WRIT 1" >> fficonfig.h
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue