[lxc-devel] [PATCH 2/3] lxc-pkgconfig-dir

Stéphane Graber stgraber at ubuntu.com
Mon Sep 10 14:39:39 UTC 2012


On 12-09-10 10:28 AM, Dwight Engen wrote:
> Put pkg-config .pc file in libdir.
> 
> Signed-off-by: Dwight Engen <dwight.engen at 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.

-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 897 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20120910/a1f1c662/attachment.pgp>


More information about the lxc-devel mailing list