8000
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 1ae14b9 commit fdb2b5fCopy full SHA for fdb2b5f
pythonforandroid/recipe.py
@@ -921,7 +921,10 @@ def get_recipe_env(self, arch):
921
ensure_dir(liblink_path)
922
923
if self.ctx.python_recipe.from_crystax:
924
- 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(
925
+ join(self.ctx.ndk_dir, 'sources', 'python',
926
+ self.ctx.python_recipe.version, 'include',
927
+ 'python')) + env['CFLAGS']
928
929
return env
930
0 commit comments