Skip to content

Commit

Permalink
p2a: fix build for recent upsteam changes
Browse files Browse the repository at this point in the history
The arch argument of get_site_packages_dir() is no longer optional. Comes from changes in kivy/python-for-android#2467
  • Loading branch information
dlech committed Oct 8, 2021
1 parent 1387aec commit 93d1bf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bleak/backends/p4android/recipes/bleak/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def prepare_build_dir(self, arch):
def get_recipe_env(self, arch=None, with_flags_in_cc=True):
env = super().get_recipe_env(arch, with_flags_in_cc)
# to find jnius and identify p4a
env["PYJNIUS_PACKAGES"] = self.ctx.get_site_packages_dir()
env["PYJNIUS_PACKAGES"] = self.ctx.get_site_packages_dir(arch)
return env

def postbuild_arch(self, arch):
Expand Down

0 comments on commit 93d1bf0

Please sign in to comment.