Skip to content

Commit 19e1e27

Browse files
authored
fix pandas recipe (#2478)
1 parent d31942f commit 19e1e27

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pythonforandroid/recipes/pandas/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ class PandasRecipe(CppCompiledComponentsPythonRecipe):
1313
patches = ['fix_numpy_includes.patch']
1414

1515
call_hostpython_via_targetpython = False
16+
need_stl_shared = True
1617

1718
def get_recipe_env(self, arch):
1819
env = super().get_recipe_env(arch)
@@ -27,7 +28,7 @@ def get_recipe_env(self, arch):
2728
# "_ZTVSt12length_error" referenced by
2829
# "/data/data/org.test.matplotlib_testapp/files/app/_python_bundle
2930
# /site-packages/pandas/_libs/window/aggregations.so"...
30-
env['LDFLAGS'] += ' -landroid'
31+
env['LDFLAGS'] += f' -landroid -l{self.stl_lib_name}'
3132
return env
3233

3334

0 commit comments

Comments
 (0)