Skip to content

Commit d76036d

Browse files
committed
Rely on python3crystax.version
1 parent 50dc135 commit d76036d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pythonforandroid/recipes/hostpython3crystax/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ def build_arch(self, arch):
3434
# https://github.com/kivy/python-for-android/issues/1154
3535
sub_build_dir = join(self.get_build_dir(), 'build')
3636
shprint(sh.mkdir, '-p', sub_build_dir)
37-
system_python = sh.which("python" + self.version)
37+
python3crystax = self.get_recipe('python3crystax', self.ctx)
38+
system_python = sh.which("python" + python3crystax.version)
3839
link_dest = join(self.get_build_dir(), 'hostpython')
3940
shprint(sh.ln, '-sf', system_python, link_dest)
4041

0 commit comments

Comments
 (0)