Commit 5ed560ba authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Shove the GHC path through cygpath -m

parent cf071813
......@@ -644,6 +644,14 @@ AC_ARG_WITH([ghc],
AC_PATH_PROG([GHC], [ghc])
fi
WithGhc="$GHC"])
# GHC is passed to Cabal, so we need a native path
if test "x$HostPlatform" = "xi386-unknown-mingw32" && \
test "${OSTYPE}" != "msys" && \
test "${WithGhc}" != ""
then
# Canonicalise to <drive>:/path/to/ghc
WithGhc=`cygpath -m ${WithGhc}`
fi
AC_SUBST([WithGhc])
AC_ARG_WITH(hc,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment