https://bugs.winehq.org/show_bug.cgi?id=46293
--- Comment #2 from Andre Heider a.heider@gmail.com --- Created attachment 63017 --> https://bugs.winehq.org/attachment.cgi?id=63017 winegcc.patch
Cannot reproduce with debian packages, the prefix is differently set up there.
Does this patch help?