diff --git a/packages/python-numpy/build.sh b/packages/python-numpy/build.sh index 37b30dda6b..01ff9ea9ff 100644 --- a/packages/python-numpy/build.sh +++ b/packages/python-numpy/build.sh @@ -3,8 +3,9 @@ TERMUX_PKG_DESCRIPTION="The fundamental package for scientific computing with Py TERMUX_PKG_LICENSE="BSD 3-Clause" TERMUX_PKG_MAINTAINER="@termux" TERMUX_PKG_VERSION="1.24.0" +TERMUX_PKG_REVISION=1 TERMUX_PKG_SRCURL=https://github.com/numpy/numpy.git -TERMUX_PKG_DEPENDS="libc++, libopenblas, python" +TERMUX_PKG_DEPENDS="libandroid-complex-math, libc++, libopenblas, python" TERMUX_PKG_BUILD_IN_SRC=true TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_UPDATE_TAG_TYPE="latest-release-tag" @@ -31,7 +32,7 @@ termux_step_configure() { . ${_CROSSENV_PREFIX}/bin/activate build-pip install wheel - LDFLAGS+=" -lpython${_PYTHON_VERSION} -lm" + LDFLAGS+=" -lpython${_PYTHON_VERSION} -landroid-complex-math -lm" build-pip install pybind11 Cython pythran wheel }