Getting pkgconfig to always point to /usr/lib/pkgconfig

Jeremy Katz katzj at redhat.com
Wed Apr 26 15:15:03 UTC 2006


On Wed, 2006-04-26 at 12:17 +0100, PFJ wrote:
> > > I know that I can %define _libdir to point to /usr/lib easily enough
> > > irrespective of the platform, but is there a way to do this with
> > > pkgconfig (i.e. always go to /usr/lib/pkgconfig)?
> > You can use /usr/share/pkgconfig for arch-independent .pc files.
> 
> Will that be picked up though if your configure script needs that
> package?

By default, pkgconfig searches $libdir/pkgconfig and $datadir/pkgconfig
for .pc files

Jeremy




More information about the fedora-extras-list mailing list