Skip to content

Commit f05ba05

Browse files
committed
revert numpy
1 parent 876d2b5 commit f05ba05

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pythonforandroid/recipes/numpy/__init__.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66

77

88
class NumpyRecipe(MesonRecipe):
9-
version = 'v2.3.0'
9+
version = 'v1.26.4'
1010
url = 'git+https://github.com/numpy/numpy'
11-
hostpython_prerequisites = ["Cython>=3.0.6", "numpy"] # meson does not detects venv's cython
11+
hostpython_prerequisites = ["Cython>=3.0.6"] # meson does not detects venv's cython
1212
extra_build_args = ['-Csetup-args=-Dblas=none', '-Csetup-args=-Dlapack=none']
1313
need_stl_shared = True
1414
min_ndk_api_support = 24
@@ -43,6 +43,7 @@ def build_arch(self, arch):
4343
def get_hostrecipe_env(self, arch=None):
4444
env = super().get_hostrecipe_env(arch=arch)
4545
env['RANLIB'] = shutil.which('ranlib')
46+
env["LDFLAGS"] = env.get("LDFLAGS") + " -lm"
4647
return env
4748

4849

0 commit comments

Comments
 (0)