pkg-config standards for .pc file location?

Braden McDaniel braden at endoframe.com
Thu Feb 4 01:50:21 UTC 2010


On Tue, 2010-02-02 at 21:11 -0500, Matthew Saltzman wrote: 
> On Tue, 2010-02-02 at 19:16 -0500, Matthias Clasen wrote: 
> > On Tue, 2010-02-02 at 19:04 -0500, Matthew Saltzman wrote:
> > > I work on another open-source project that is considering using
> > > pkg-config, and we are trying to establish standards.  I found the
> > > guidelines for how to package .pc files in Fedora (and EPEL), but I'm
> > > curious if there are Fedora or Red Hat standards for the location where
> > > the files are placed when the package is installed?
> > 
> > Normal .pc files go into %{_libdir}/pkgconfig
> > Arch-independent .pc files go into %{_datadir}/pkgconfig
> > 
> 
> That's helpful, thanks!

And just to be clear, this is not Fedora-specific.  You can also find
this in "man pkg-config", where the PKG_CONFIG_PATH environment variable
is described.

-- 
Braden McDaniel <braden at endoframe.com>



More information about the devel mailing list