Skip to content

Commit

Permalink
Fixed hardcoded local dir
Browse files Browse the repository at this point in the history
  • Loading branch information
inclement committed Jan 10, 2016
1 parent 1ae14b9 commit fdb2b5f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pythonforandroid/recipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -921,7 +921,10 @@ def get_recipe_env(self, arch):
ensure_dir(liblink_path)

if self.ctx.python_recipe.from_crystax:
env['CFLAGS'] = '-I/home/asandy/android/crystax-ndk-10.3.0/sources/python/{}/include/python '.format(self.ctx.python_recipe.version) + env['CFLAGS']
env['CFLAGS'] = '-I{} '.format(
join(self.ctx.ndk_dir, 'sources', 'python',
self.ctx.python_recipe.version, 'include',
'python')) + env['CFLAGS']

return env

Expand Down

0 comments on commit fdb2b5f

Please sign in to comment.