pkg-config standards for .pc file location?

Matthew Saltzman mjs at
Wed Feb 3 02:11:31 UTC 2010

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!


                Matthew Saltzman

Clemson University Math Sciences
mjs AT clemson DOT edu

More information about the devel mailing list