Created attachment 583431 [details] [diff] [review]
When I was investigating link failure with the new gkmedias.dll, I've found that mingw lacks rules for handling DEFFILE. The attached patch adds the missing rule. Also, LD doesn't understand UTF-8 BOM in .def files, so I had to remove it from mozutils.def.in. It should be harmless, I don't think there is any need for UTF-8 in .def files.
Thanks for the review.