From 388a5db03779ac8eeaeb780b2ed172bb0d569bbf Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Thu, 28 Aug 2008 21:14:27 +0000 Subject: Don't use Cabal wrappers on Windows --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 30535abb..692ccb04 100644 --- a/Makefile +++ b/Makefile @@ -12,6 +12,10 @@ SRC_HC_OPTS += -w INPLACE_PKG_CONF = $(FPTOOLS_TOP_ABS)/ghc/inplace-datadir/package.conf +ifneq "$(HOSTPLATFORM)" "i386-unknown-mingw32" +INSTALL_INPLACE_FLAGS += --enable-shell-wrappers +endif + install-inplace: $(INSTALL_PACKAGE) install '$(GHC_PKG_PROG)' '$(INPLACE_PKG_CONF)' '' \ '$(FPTOOLS_TOP_ABS)/utils/haddock/install-inplace' \ @@ -24,5 +28,6 @@ install-inplace: '$$prefix/doc' \ '$$prefix/html' \ '$$prefix/haddock' \ - --distpref dist-install --enable-shell-wrappers + --distpref dist-install \ + $(INSTALL_INPLACE_FLAGS) -- cgit v1.2.3