[gobject-introspection] Use PKG_CONFIG when running g-ir-scanner
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] Use PKG_CONFIG when running g-ir-scanner
- Date: Tue, 16 Feb 2016 21:20:21 +0000 (UTC)
commit a62b3020573f9f2a4871c0f74212c8429bc2015e
Author: Nicola Fontana <ntd entidi it>
Date: Thu Feb 11 12:58:34 2016 +0100
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
Makefile.introspection | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/Makefile.introspection b/Makefile.introspection
index cd7bd1b..1812df9 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]