We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0a63f5 commit 38cdc93Copy full SHA for 38cdc93
pythonforandroid/recipes/python2/__init__.py
@@ -56,6 +56,11 @@ def prebuild_arch(self, arch):
56
57
def set_libs_flags(self, env, arch):
58
env = super(Python2Recipe, self).set_libs_flags(env, arch)
59
+ if 'libffi' in self.ctx.recipe_build_order:
60
+ # For python2 we need to tell configure that we want to use our
61
+ # compiled libffi, this step is not necessary for python3.
62
+ self.configure_args += ('--with-system-ffi',)
63
+
64
if 'openssl' in self.ctx.recipe_build_order:
65
recipe = Recipe.get_recipe('openssl', self.ctx)
66
openssl_build = recipe.get_build_dir(arch.arch)
0 commit comments