Skip to content

Missing -I flag for windres on Windows

The build system needs to invoke windres with -I to specify the path where ghci.ico should be found. Omitting the flag appears to work with some windres versions but not others (since noone else has spotted this failure!).

Claus Reinke also had this issue (http://www.mail-archive.com/cvs-ghc@haskell.org/msg14636.html) but it looks like he never had time to write a patch.

The attached patch fixes the Windows build for me (I'm using MingGW windres 2.17.50).

Trac metadata
Trac field Value
Version 6.13
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Build System
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information