From 19e1e27371efcc3258db48a010829880b461a574 Mon Sep 17 00:00:00 2001 From: Mikhail Zakharov Date: Mon, 26 Jul 2021 14:15:10 -0400 Subject: [PATCH] fix pandas recipe (#2478) --- pythonforandroid/recipes/pandas/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pythonforandroid/recipes/pandas/__init__.py b/pythonforandroid/recipes/pandas/__init__.py index e165b9db74..40da2fb73c 100644 --- a/pythonforandroid/recipes/pandas/__init__.py +++ b/pythonforandroid/recipes/pandas/__init__.py @@ -13,6 +13,7 @@ class PandasRecipe(CppCompiledComponentsPythonRecipe): patches = ['fix_numpy_includes.patch'] call_hostpython_via_targetpython = False + need_stl_shared = True def get_recipe_env(self, arch): env = super().get_recipe_env(arch) @@ -27,7 +28,7 @@ def get_recipe_env(self, arch): # "_ZTVSt12length_error" referenced by # "/data/data/org.test.matplotlib_testapp/files/app/_python_bundle # /site-packages/pandas/_libs/window/aggregations.so"... - env['LDFLAGS'] += ' -landroid' + env['LDFLAGS'] += f' -landroid -l{self.stl_lib_name}' return env