Configure: canonicalise PythonCmd path on Windows
When configuring GHC in a clang64 shell, hadrian can resolve PythonCmd
to a path like /clang64/bin/python3
. This can end up confusing HLS which expects a canonical absolute path.
The solution: in find_python.m4
, use cygpath
to canonicalise the path, like we do for e.g. ar
.