summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorClemens Fruhwirth <clemens@endorphin.org>2007-08-06 08:51:20 +0000
committerClemens Fruhwirth <clemens@endorphin.org>2007-08-06 08:51:20 +0000
commitfd8b4a3cdb841673b9b46ef9b5869b15460cff41 (patch)
tree582216ddb67193c4390462c975a261d8085f8bdb /mk
parentdfc4d5e3b9642aef3c659f977ab1c36140c0676d (diff)
downloadhaskell-fd8b4a3cdb841673b9b46ef9b5869b15460cff41.tar.gz
Call windres with explicit preprocessor path in case gcc is not in $PATH
Diffstat (limited to 'mk')
-rw-r--r--mk/suffix.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/suffix.mk b/mk/suffix.mk
index d36c0b38ce..762636aea1 100644
--- a/mk/suffix.mk
+++ b/mk/suffix.mk
@@ -378,7 +378,7 @@ endif
%.$(way_)o : %.$(way_)rc
@$(RM) $@
- windres $< $@
+ windres --preprocessor="$(CPP) -xc -DRC_INVOKED" $< $@
#-----------------------------------------------------------------------------
# Preprocessor suffix rule