Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pythonforandroid/archs.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def get_env(self, with_flags_in_cc=True):

env['ARCH'] = self.arch

if self.ctx.python_recipe.from_crystax:
if self.ctx.python_recipe and self.ctx.python_recipe.from_crystax:
env['CRYSTAX_PYTHON_VERSION'] = self.ctx.python_recipe.version

return env
Expand Down
2 changes: 1 addition & 1 deletion pythonforandroid/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ def build_recipes(build_order, python_modules, ctx):
# 4) biglink everything
# AND: Should make this optional
info_main('# Biglinking object files')
if not ctx.python_recipe.from_crystax:
if not ctx.python_recipe or not ctx.python_recipe.from_crystax:
biglink(ctx, arch)
else:
info('NDK is crystax, skipping biglink (will this work?)')
Expand Down