]] Stephen Kitt Hi,
> On Mon, 17 Jun 2019 22:20:11 +0200, Stefan Weil <s...@weilnetz.de> wrote: > > I am not sure whether reassigning the bug to mingw-w64-tools is the best > > way to get a quick (intermediate) solution. If it helps, I have no > > objection, although I thought that patching the pkg-config package would > > be easier to fix that special issue. > > Oh well, I suppose mingw-w64-tools *is* the right place to deal with this, if > pkg-config is only intended to handle Debian architectures. If you do > reassign the bug, please upgrade it to serious and I’ll try to get a fix > ready in time for Buster. The crosswrapper in pkg-config does require that the architecture is known to dpkg, yes. The /usr/bin/*-pkg-config namespace is managed by the pkg-config dpkg hook, so other tools should coordinate with pkg-config if they want to work within that area. (I'm not even sure what the pkg-config directory for i686-w64-mingw32 and x86_64-w64-mingw32 should be.) As a workaround, I'd set PKG_CONFIG_LIBDIR in a shell script wrapper and execute that rather than going through the crosswrapper. It's far too late to change behaviour in the crosswrapper for buster, but I'm happy to discuss solutions for bullseye. Helmut should absolutely be part of those discussions as he's probably the biggest user of the crosswrapper. Cheers, -- Tollef Fog Heen UNIX is user friendly, it's just picky about who its friends are