From 6b03c47e04e556691445590c15d594aaff5a1066 Mon Sep 17 00:00:00 2001 From: Quentin Glidic Date: Thu, 19 Nov 2015 10:02:50 +0100 Subject: [PATCH] build: Use ${PKG_CONFIG} instead of pkg-config Some use cases (e.g. cross-compiling) require a prefixed pkg-config https://bugzilla.gnome.org/show_bug.cgi?id=758322 Signed-off-by: Quentin Glidic --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 632e80d..b9764bc 100644 --- a/configure.ac +++ b/configure.ac @@ -103,7 +103,7 @@ if test x$enable_tests = xyes ; then fi AM_CONDITIONAL(TESTS_ENABLED, test x$enable_tests = xyes) -GLIB_GENMARSHAL=`pkg-config --variable=glib_genmarshal glib-2.0` +GLIB_GENMARSHAL=`${PKG_CONFIG} --variable=glib_genmarshal glib-2.0` AC_SUBST(GLIB_GENMARSHAL) GOBJECT_INTROSPECTION_CHECK([0.9.12])