https://bugs.winehq.org/show_bug.cgi?id=53953
--- Comment #11 from Michael Stefaniuc mstefani@winehq.org --- From config.log it doesn't even seems to use the includes returned by pkgconfig:
configure:16811: checking for ft2build.h configure:16811: gcc -m32 -c -g -O2 conftest.c >&5 conftest.c:171:10: fatal error: ft2build.h: No such file or directory 171 | #include <ft2build.h> | ^~~~~~~~~~~~ compilation terminated.