pkg-config standards for .pc file location?

Matthias Clasen mclasen at
Wed Feb 3 00:16:53 UTC 2010

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

More information about the devel mailing list