diff options
author | Ian Lynagh <igloo@earth.li> | 2008-08-28 21:14:27 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2008-08-28 21:14:27 +0000 |
commit | 388a5db03779ac8eeaeb780b2ed172bb0d569bbf (patch) | |
tree | cb7e67a736199714112e9c8df6fb22261c1c0aa9 | |
parent | 54825d3531346ee52a48163f2e2b14d62b90d13b (diff) |
Don't use Cabal wrappers on Windows
-rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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) |