]] Helmut Grohne Hi Helmut,
thanks for the prod on IRC. > What's wrong with the wrapper? Consider I installed pkg-config:amd64 and > am now running i586-linux-gnu-pkg-config in a package build. The wrapper > correctly determines the shell variable > basename=i586-linux-gnu-pkg-config and derives multiarch=i386-linux-gnu. > It now determines the architecture of pkg-config using the following > (erroneous) line: > > native_multiarch="`dpkg-architecture -qDEB_HOST_MULTIARCH 2>/dev/null`" > > Since we are in a package build, dpkg has set up all those > DEB_{BUILD,HOST,TARGET}_* variables and since we are building for i386, > native_multiarch will wrongly end up as i386-linux-gnu as well. Thus the > cross wrapper skips the setup of PKG_CONFIG_LIBDIR entirely and passes > on to pkg-config with no environment modification. Right, this is the same as doko reported in #807946. Do you have any concerns about his patch there or can I use that instead of your much more comprehensive one? -- Tollef Fog Heen UNIX is user friendly, it's just picky about who its friends are