[PATCH] install pkg-config file to arch-independent location
Jonas Ådahl
jadahl at gmail.com
Tue Nov 24 23:35:00 PST 2015
On Sun, Nov 22, 2015 at 08:51:27PM +0100, Igor Gnatenko wrote:
> It is arch-independent, so no need to install it to /usr/lib*
>
> Cc: Jonas Ådahl <jadahl at gmail.com>
> Signed-off-by: Igor Gnatenko <i.gnatenko.brain at gmail.com>
> Reviewed-by: Quentin Glidic <sardemff7+git at sardemff7.net>
Seems reasonable. The patch is pushed. Thanks.
Jonas
> ---
> Makefile.am | 3 +--
> configure.ac | 2 +-
> 2 files changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/Makefile.am b/Makefile.am
> index a32e977..5926a41 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -15,5 +15,4 @@ dist_noinst_DATA = \
> $(sort $(foreach p,$(unstable_protocols),$(dir $p)README)) \
> $(NULL)
>
> -pkgconfigdir = $(libdir)/pkgconfig
> -pkgconfig_DATA = wayland-protocols.pc
> +noarch_pkgconfig_DATA = wayland-protocols.pc
> diff --git a/configure.ac b/configure.ac
> index b97f411..a9b4834 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -21,7 +21,7 @@ AM_INIT_AUTOMAKE([1.11 foreign no-dist-gzip dist-xz])
>
> AM_SILENT_RULES([yes])
>
> -PKG_PROG_PKG_CONFIG()
> +PKG_NOARCH_INSTALLDIR
>
> AC_CONFIG_FILES([
> Makefile
> --
> 2.6.3
>
More information about the wayland-devel
mailing list