Windres doesn't work if cross compiled on a 64bit system, I've made a patch that may have a also uneeded changes, but at least it works. It needs stdint.h I hope all the changes are enough
Created attachment 1733 [details] Fixes the problem above
*** This bug has been marked as a duplicate of 2737 ***