summaryrefslogtreecommitdiff
path: root/utils/runghc/ghc.mk
diff options
context:
space:
mode:
Diffstat (limited to 'utils/runghc/ghc.mk')
-rw-r--r--utils/runghc/ghc.mk2
1 files changed, 1 insertions, 1 deletions
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