Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.6.1
-
None
-
Win7/64
-
60fca92b1f1f4a6f6c1ac8ac534650ef49af469e
Description
Just compare MingwMakefileGenerator::writeRcFilePart() and Win32MakefileGenerator::writeRcFilePart().
The nmake generator add $(DEFINES) whereas the mingw one does not and this breaks some apps, since .rc files are pre-processed like normal .c files.
Adding '<< " $(DEFINES"' as the last argument to the windres.exe invocation fixes this problem - see attached patch