aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2008-08-28 21:14:27 +0000
committerIan Lynagh <igloo@earth.li>2008-08-28 21:14:27 +0000
commit388a5db03779ac8eeaeb780b2ed172bb0d569bbf (patch)
treecb7e67a736199714112e9c8df6fb22261c1c0aa9
parent54825d3531346ee52a48163f2e2b14d62b90d13b (diff)
Don't use Cabal wrappers on Windows
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
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)