python install dir arch.arch
This commit is contained in:
parent
6b2e690155
commit
43541ded8b
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ class CoincurveRecipe(CompiledComponentsPythonRecipe):
|
||||||
# # https://github.com/kivy/python-for-android/pull/1250/files#diff-569e13021e33ced8b54385f55b49cbe6
|
# # https://github.com/kivy/python-for-android/pull/1250/files#diff-569e13021e33ced8b54385f55b49cbe6
|
||||||
# env['CFLAGS'] += ' -I{}/include/python/'.format(ndk_dir_python)
|
# env['CFLAGS'] += ' -I{}/include/python/'.format(ndk_dir_python)
|
||||||
# else:
|
# else:
|
||||||
env['PYTHON_ROOT'] = self.ctx.get_python_install_dir()
|
env['PYTHON_ROOT'] = self.ctx.get_python_install_dir(arch.arch)
|
||||||
env['CFLAGS'] += ' -I' + env['PYTHON_ROOT'] + '/include/python{}'.format(python_version)
|
env['CFLAGS'] += ' -I' + env['PYTHON_ROOT'] + '/include/python{}'.format(python_version)
|
||||||
env['LDFLAGS'] += " -lpython{}".format(python_version)
|
env['LDFLAGS'] += " -lpython{}".format(python_version)
|
||||||
env['LDFLAGS'] += " -lsecp256k1"
|
env['LDFLAGS'] += " -lsecp256k1"
|
||||||
|
|
Loading…
Reference in a new issue