diff options
author | Nicola Fontana <ntd@entidi.it> | 2016-02-11 12:58:34 +0100 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2016-02-16 16:19:23 -0500 |
commit | a62b3020573f9f2a4871c0f74212c8429bc2015e (patch) | |
tree | 5558ef04122eee950647d13fe5e1d4c6a96e98b9 /Makefile.introspection | |
parent | 9216e612f0e9797d4f2dd84a97b890c3069b69c0 (diff) | |
download | gobject-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
Diffstat (limited to 'Makefile.introspection')
-rw-r--r-- | Makefile.introspection | 2 |
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 |