[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: *-config programs and multi-arch

On Thu, Sep 15, 2011 at 01:37:55PM -0500, Peter Samuelson wrote:

> > On Wed, Sep 14, 2011 at 10:42:07PM +0200, Tollef Fog Heen wrote:
> > > Your cross-toolchain is supposed to set up a symlink from
> > > /usr/bin/$triplet-pkg-config to /usr/share/pkg-config-crosswrapper which
> > > will then DTRT.  That's the idea at least, I haven't actually tested
> > > it.

> [Steve Langasek]
> > I have.  It works great.  Thanks for all your work on pkg-config :)

> It doesn't _look_ like it would work great:

>     PKG_CONFIG_LIBDIR=/usr/${triplet}/lib/pkgconfig pkg-config $@

> Shouldn't that be /usr/lib/${triplet}/pkgconfig instead?  I'd file a
> bug, but I'm not really in a position to test it.

Oh, sorry - I'm using the version in Ubuntu which includes the fix for bug
#631275 (which I thought had been uploaded to Debian already).

> Plus, it should also include /usr/local/lib/${triplet}/pkgconfig,


> /usr/local/share/pkgconfig,


> and /usr/share/pkgconfig.


The latter two are already part of the built-in path and will be looked at
in addition to $PKG_CONFIG_LIBDIR, as are /usr/lib/pkgconfig and
/usr/local/lib/pkgconfig (which we still want to support during the

Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek@ubuntu.com                                     vorlon@debian.org

Reply to: