Skip to content

Commit 4f95cbd

Browse files
committed
fix rare bug
1 parent 8c9c350 commit 4f95cbd

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

pythonforandroid/build.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -511,6 +511,9 @@ def build_recipes(build_order, python_modules, ctx, project_dir,
511511
recipe.prepare_build_dir(arch.arch)
512512

513513
info_main('# Prebuilding recipes')
514+
# ensure we have `ctx.python_recipe`
515+
Recipe.get_recipe("python3", ctx).prebuild_arch(arch)
516+
514517
# 2) prebuild packages
515518
for recipe in recipes:
516519
info_main('Prebuilding {} for {}'.format(recipe.name, arch.arch))

0 commit comments

Comments
 (0)