We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ac0abc commit 4b07704Copy full SHA for 4b07704
pythonforandroid/archs.py
@@ -110,7 +110,7 @@ def get_env(self, with_flags_in_cc=True):
110
111
env['ARCH'] = self.arch
112
113
- if self.ctx.python_recipe.from_crystax:
+ if self.ctx.python_recipe and self.ctx.python_recipe.from_crystax:
114
env['CRYSTAX_PYTHON_VERSION'] = self.ctx.python_recipe.version
115
116
return env
0 commit comments