]] Helmut Grohne 

Hi,

> On Mon, Jan 04, 2016 at 10:13:22PM +0100, Tollef Fog Heen wrote:
> > 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?
> 
> I confirm that doko filed a duplicate. His patch will practically solve
> the issue in most cases, but is technically wrong. pkg-config's
> architecture is not necessarily the same as DEB_BUILD_ARCH (but it will
> be in many cases). Nothing prevents you from installing pkg-config:i386
> on an amd64 system and then x86_64-linux-gnu-pkg-config will be broken.

Right, that's a good point.

An easier way here seems to be to either ask dpkg what architecture
pkg-config has (dpkg -s pkg-config | awk '$1 == "Architecture:" { print
$2 }') or teach pkg-config to report its own architecture.  The latter
is a bit more work, but quite doable, the former seems quite easy, and I
think, pretty robust?

Cheers,
-- 
Tollef Fog Heen
UNIX is user friendly, it's just picky about who its friends are

Reply via email to