This issue follow the one from libcurl (curl/curl#19516).
I tried to build a test program with libcurl, which depend on libpsl, that I then tried to add statically.
That failed with an undefined reference to 'stat64'.
The libpsl.a have been build with MinGW-w64 13 and the test program with MinGW-w64 12.
First and foremost, I'm not an expert with how libpsl use the stat element.
MinGW-w64 13 seem to break interop with previous MinGW versions which use stat() function.
Again, I don't know what should be the best way to handle/fix it.