https://bugs.winehq.org/show_bug.cgi?id=51749
--- Comment #5 from Cord Bleibaum cordbleibaum@gmail.com --- (In reply to Ozan Türkyılmaz from comment #4)
I did couple of tests if I simply do make, it fails. if I do make -j2, it builds.
For me the same worked, so I'd guess it's a build order problem