Skip to content

Commit

Permalink
fix pandas recipe (#2478)
Browse files Browse the repository at this point in the history
  • Loading branch information
mzakharo authored Jul 26, 2021
1 parent d31942f commit 19e1e27
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pythonforandroid/recipes/pandas/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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


Expand Down

0 comments on commit 19e1e27

Please sign in to comment.