summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicola Fontana <ntd@entidi.it>2016-02-11 12:58:34 +0100
committerColin Walters <walters@verbum.org>2016-02-16 16:19:23 -0500
commita62b3020573f9f2a4871c0f74212c8429bc2015e (patch)
tree5558ef04122eee950647d13fe5e1d4c6a96e98b9
parent9216e612f0e9797d4f2dd84a97b890c3069b69c0 (diff)
downloadgobject-introspection-a62b3020573f9f2a4871c0f74212c8429bc2015e.tar.gz
Use PKG_CONFIG when running g-ir-scanner
While cross-compiling, "$PKG_CONFIG" is not "pkg-config", so do not assume it when calling g-ir-scanner to build up the base gir files. https://bugzilla.gnome.org/show_bug.cgi?id=761983
-rw-r--r--Makefile.introspection2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.introspection b/Makefile.introspection
index cd7bd1b1..1812df9d 100644
--- a/Makefile.introspection
+++ b/Makefile.introspection
@@ -84,7 +84,7 @@ _gir_silent_compiler = $(_gir_silent_compiler_$(V))
_gir_silent_compiler_ = $(_gir_silent_compiler_$(_gir_verbosity))
_gir_silent_compiler_0 = @echo " GICOMP $(1)";
-_gir_default_scanner_env = CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" CC="$(CC)"
+_gir_default_scanner_env = CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" CC="$(CC)" PKG_CONFIG="$(PKG_CONFIG)"
#
# Creates a GIR by scanning C headers/sources