aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Gnatenko <i.gnatenko.brain@gmail.com>2015-11-22 20:51:27 +0100
committerJonas Ådahl <jadahl@gmail.com>2015-11-23 09:39:35 +0800
commit25c60496e84a8ee031d38edd11daee7b737a5ef7 (patch)
tree5fef1d360a3b66cc4ae9ca1d8974ad5dc39c5e3d
parent5315fdabd415fd76f6fb9b10472cb46dab0792ea (diff)
install pkg-config file to arch-independent location
It is arch-independent, so no need to install it to /usr/lib* Cc: Jonas Ådahl <jadahl@gmail.com> Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com> Reviewed-by: Quentin Glidic <sardemff7+git@sardemff7.net>
-rw-r--r--Makefile.am3
-rw-r--r--configure.ac2
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