[PATCH] install pkg-config file to arch-independent location

Igor Gnatenko i.gnatenko.brain at gmail.com
Sun Nov 22 11:51:27 PST 2015


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>
---
 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