https://bugs.winehq.org/show_bug.cgi?id=50811
--- Comment #6 from Rafał Mużyło galtgendo@o2.pl --- This *might* actually be a bug in the upstream meson.build file, as '-pthread' is listed in Libs.private and while '-pthread' is valid for both cflags and libs, it's likely this should have been Requires.private (as it's a static lib).