pkg-config standards for .pc file location?

Ville Skyttä ville.skytta at iki.fi
Wed Feb 3 18:22:05 UTC 2010


On Wednesday 03 February 2010, 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!

See also https://bugs.freedesktop.org/show_bug.cgi?id=14975
The new feature doesn't seem that helpful with arch dependent/independent 
locations though.


More information about the devel mailing list