On Mon, Sep 10, 2012 at 10:39:39AM -0400, Stéphane Graber wrote: > On 12-09-10 10:28 AM, Dwight Engen wrote: > > Put pkg-config .pc file in libdir. > > > > Signed-off-by: Dwight Engen <dwight.en...@oracle.com> > > --- > > Makefile.am | 2 +- > > 1 files changed, 1 insertions(+), 1 deletions(-) > > > > diff --git a/Makefile.am b/Makefile.am > > index 887e300..c66ecc6 100644 > > --- a/Makefile.am > > +++ b/Makefile.am > > @@ -6,7 +6,7 @@ SUBDIRS = src templates doc > > DIST_SUBDIRS = config src templates doc > > EXTRA_DIST = autogen.sh lxc.spec CONTRIBUTING MAINTAINERS ChangeLog > > > > -pcdatadir = $(datadir)/pkgconfig > > +pcdatadir = $(libdir)/pkgconfig > > pcdata_DATA = lxc.pc > > > > ChangeLog:: > > What's the reason for that change? > > I believe both locations are allowed in pkg-config and at least on > Debian systems, /usr/share/pkgconfig is more popular, so unless there's > a very good reason for that change, I'm against it.
The .pc files in /usr/share/pkgconfig must not refer to files that live in /usr/lib. If they do, then they must go in /usr/lib/pkgconfig This is so that you can install multiple arch versions of the libraries concurrently. eg both 32 & 64 bit versions Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :| ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel