(In reply to Ralf Habacker from comment #11) > > One solution, which I have already tested on > https://build.opensuse.org/project/show/home:rhabacker:branches:windows: > mingw:win32:issue-1204985, is to move the macro file into a separate package > called mingw32-macros and make mingw32-cross-binutils and > mingw32-cross-pkgconf depend on it when building. May be at the fedora mingw project there are additional info, which would be useful, see - https://src.fedoraproject.org/rpms/mingw-filesystem/blob/rawhide/f/mingw-filesystem.spec#_56 One difference I see is that they don't use a specially compiled executable to support pkg-config files. Instead they use the native pkgconf command line tool https://src.fedoraproject.org/rpms/mingw-filesystem/blob/rawhide/f/macros.mingw32#_86 along with some kind of target specific configuration files named "pkgconfig personality files", see for example https://src.fedoraproject.org/rpms/mingw-filesystem/blob/rawhide/f/pkgconf-personality-mingw32. I don't know if openSUSE pkgconf supports this as well.