windres to use the gcc given as --with-cc.
[ghc-hetmet.git] / driver / ghci / Makefile
index cdc4d4e..37c30c2 100644 (file)
@@ -58,7 +58,7 @@ endif
 
 ifeq "$(TARGETPLATFORM)" "i386-unknown-mingw32"
 ghci.res : ghci.rc ghci.ico
-       windres -o ghci.res -i ghci.rc -O coff
+       windres --preprocessor="$(CPP) -xc -DRC_INVOKED" -o ghci.res -i ghci.rc -O coff
 endif
 
 binary-dist: