diff --git a/pythonforandroid/recipe.py b/pythonforandroid/recipe.py index 8808ffc0d2..e93bc125e5 100644 --- a/pythonforandroid/recipe.py +++ b/pythonforandroid/recipe.py @@ -977,7 +977,7 @@ def get_recipe_env(self, arch=None, with_flags_in_cc=True): self.patch_shebangs(self._host_recipe.local_bin, self.real_hostpython_location) env["PATH"] = self._host_recipe.local_bin + ":" + self._host_recipe.site_bin + ":" + env["PATH"] - host_env = self.get_hostrecipe_env() + host_env = self.get_hostrecipe_env(arch) env['PYTHONPATH'] = host_env["PYTHONPATH"] if not self.call_hostpython_via_targetpython: