This just dlltool, which was always broken. Luckily you don't need to use it, just use the linker.
Lately just postgresql kept using dlltool, nobody else.
Lately just postgresql kept using dlltool, nobody else.
So if you need that you'd need to either fix dlltool, or do it manually in the code.