summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2013-03-01 21:46:02 +0000
committerIan Lynagh <ian@well-typed.com>2013-03-01 21:46:02 +0000
commitffb2a8c216ad8791422008cc92c8048f4528bbf4 (patch)
tree466be3c907ab5ba516d272af652ddabac409ac6e /utils
parent45ee44d8229a27aa38c99c21e1240484ba27732c (diff)
downloadhaskell-ffb2a8c216ad8791422008cc92c8048f4528bbf4.tar.gz
Rename $(Windows) to $(Windows_Host)
Diffstat (limited to 'utils')
-rw-r--r--utils/ghc-pkg/ghc.mk2
-rw-r--r--utils/runghc/ghc.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/utils/ghc-pkg/ghc.mk b/utils/ghc-pkg/ghc.mk
index a179ae7940..e20949159f 100644
--- a/utils/ghc-pkg/ghc.mk
+++ b/utils/ghc-pkg/ghc.mk
@@ -75,7 +75,7 @@ endif
# -----------------------------------------------------------------------------
# Link ghc-pkg to ghc-pkg-$(ProjectVersion) when installing
-ifeq "$(Windows)" "NO"
+ifeq "$(Windows_Host)" "NO"
install: install_utils/ghc-pkg_link
.PHONY: install_utils/ghc-pkg_link
diff --git a/utils/runghc/ghc.mk b/utils/runghc/ghc.mk
index 0c045b4e2b..a181938f3b 100644
--- a/utils/runghc/ghc.mk
+++ b/utils/runghc/ghc.mk
@@ -30,7 +30,7 @@ $(eval $(call build-prog,utils/runghc,dist-install,1))
install: install_runhaskell
.PHONY: install_runhaskell
-ifeq "$(Windows)" "YES"
+ifeq "$(Windows_Host)" "YES"
install_runhaskell: install_bins
"$(CP)" $(DESTDIR)$(bindir)/runghc$(exeext) $(DESTDIR)$(bindir)/runhaskell$(exeext)
else