[PATCH] install pkg-config file to /usr/share

Quentin Glidic sardemff7+wayland at sardemff7.net
Sun Nov 22 10:48:38 PST 2015


On 22/11/2015 13:31, Igor Gnatenko wrote:
> It is arch-independent, so no need to install it to /usr/lib*
>
> Signed-off-by: Igor Gnatenko <i.gnatenko.brain at gmail.com>
> ---
>   Makefile.am | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Makefile.am b/Makefile.am
> index a32e977..71b8799 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -15,5 +15,5 @@ dist_noinst_DATA =								\
>   	$(sort $(foreach p,$(unstable_protocols),$(dir $p)README))		\
>   	$(NULL)
>
> -pkgconfigdir = $(libdir)/pkgconfig
> +pkgconfigdir = $(datadir)/pkgconfig
>   pkgconfig_DATA = wayland-protocols.pc
>


Ideally, we should use PKG_NOARCH_INSTALLDIR (in configure.ac) and drop 
the *dir from Makefile.am.

If that is not wanted, this patch is fine:
Reviewed-by: Quentin Glidic <sardemff7+git at sardemff7.net>

(Sorry for the duplicate mail Igor.)

-- 

Quentin “Sardem FF7” Glidic


More information about the wayland-devel mailing list