Skip to content

Commit

Permalink
Added -lpython3.5m for py3 builds
Browse files Browse the repository at this point in the history
  • Loading branch information
inclement committed Feb 11, 2017
1 parent 61543e8 commit ed1e1a8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pythonforandroid/recipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -1089,6 +1089,13 @@ def get_recipe_env(self, arch, with_flags_in_cc=True):
self.ctx.python_recipe.version, 'include',
'python')) + env['CFLAGS']

# Temporarily hardcode the -lpython3.5 as this does not
# get applied automatically in some environments. This
# will need generalising, along with the other hardcoded
# py3.5 references, to support other python3 or crystax
# python versions.
env['LDFLAGS'] = env['LDFLAGS'] + ' -lpython3.5m'

return env


Expand Down

0 comments on commit ed1e1a8

Please sign in to comment.