summaryrefslogtreecommitdiff
path: root/rules/build-prog.mk
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 /rules/build-prog.mk
parent45ee44d8229a27aa38c99c21e1240484ba27732c (diff)
downloadhaskell-ffb2a8c216ad8791422008cc92c8048f4528bbf4.tar.gz
Rename $(Windows) to $(Windows_Host)
Diffstat (limited to 'rules/build-prog.mk')
-rw-r--r--rules/build-prog.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/rules/build-prog.mk b/rules/build-prog.mk
index 3cea0e4839..7fbe7897cb 100644
--- a/rules/build-prog.mk
+++ b/rules/build-prog.mk
@@ -54,7 +54,7 @@ ifeq "$$($1_USES_CABAL)" "YES"
$1_$2_USES_CABAL = YES
endif
-ifeq "$$(Windows)" "YES"
+ifeq "$$(Windows_Host)" "YES"
$1_$2_WANT_INPLACE_WRAPPER = NO
else ifneq "$$($1_$2_INSTALL_INPLACE)" "YES"
$1_$2_WANT_INPLACE_WRAPPER = NO
@@ -66,7 +66,7 @@ else
$1_$2_WANT_INPLACE_WRAPPER = NO
endif
-ifeq "$$(Windows)" "YES"
+ifeq "$$(Windows_Host)" "YES"
$1_$2_WANT_INSTALLED_WRAPPER = NO
else ifneq "$$($1_$2_INSTALL)" "YES"
$1_$2_WANT_INSTALLED_WRAPPER = NO