Redirect Python-ast lookup to 'hostpython'. Fixes #201

This commit is contained in:
Richard Larkin 2016-07-04 12:00:39 +02:00
parent 8cdc790375
commit 24b3ded916

View file

@ -75,6 +75,9 @@ class HostpythonRecipe(Recipe):
build_env = arch.get_env()
build_dir = self.get_build_dir(arch.arch)
build_env["PATH"] = os.environ["PATH"]
shprint(sh.ln, "-s",
join(build_dir, "hostpython"),
join(build_dir, "Python"))
shprint(sh.make,
"-C", build_dir,
"bininstall", "inclinstall",