Commit d3fb9859 authored by Simon Marlow's avatar Simon Marlow

on Windows, use the .bat versions of the inplace scripts

This will help the Cabal tests to work (although there are still more
issues to fix).
parent 889407dc
......@@ -30,10 +30,17 @@ endif
export MAKE
# ghastly hack, because the driver requires that $tool be an absolute path name.
ifeq "$(Windows)" "YES"
GHC_STAGE1_ABS = $(GHC_COMPILER_DIR_ABS)/stage1/ghc-inplace.bat
GHC_STAGE2_ABS = $(GHC_COMPILER_DIR_ABS)/stage2/ghc-inplace.bat
GHC_STAGE3_ABS = $(GHC_COMPILER_DIR_ABS)/stage3/ghc-inplace.bat
GHC_PKG_ABS = $(GHC_PKG_DIR_ABS)/ghc-pkg-inplace.bat
else
GHC_STAGE1_ABS = $(GHC_COMPILER_DIR_ABS)/stage1/ghc-inplace
GHC_STAGE2_ABS = $(GHC_COMPILER_DIR_ABS)/stage2/ghc-inplace
GHC_STAGE3_ABS = $(GHC_COMPILER_DIR_ABS)/stage3/ghc-inplace
GHC_PKG_ABS = $(GHC_PKG_DIR_ABS)/ghc-pkg-inplace
endif
HP2PS_ABS = $(GHC_HP2PS_DIR_ABS)/hp2ps
GS = gs
......
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