> 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.

Plus, it should also include /usr/local/lib/${triplet}/pkgconfig,
/usr/local/share/pkgconfig, and /usr/share/pkgconfig.  So, like,

    
PKG_CONFIG_LIBDIR=/usr/local/lib/${triplet}/pkgconfig:/usr/local/share/pkgconfig:/usr/lib/${triplet}/pkgconfig:/usr/share/pkgconfig
 pkg-config "$@"

-- 
Peter Samuelson | org-tld!p12n!peter | http://p12n.org/


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110915183755.gb16...@p12n.org

Reply via email to