summaryrefslogtreecommitdiff
path: root/Makefile.introspection
diff options
context:
space:
mode:
authorNicola Fontana <ntd@entidi.it>2016-02-12 11:04:11 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2018-01-25 22:10:25 +0000
commit15a28c945f192863c6b0a9818fa3a0713e3d4076 (patch)
treec2a08f2293ba13620b16ce3ee016c3b15dce7fa7 /Makefile.introspection
parentb8da3c080103ba06da8ebd81d6cffbeda8b1bd13 (diff)
downloadgobject-introspection-15a28c945f192863c6b0a9818fa3a0713e3d4076.tar.gz
Allow overriding of the host os name
Added the GI_HOST_OS environment variable to eventually specify the host OS explicitely. It fall backs to os.name to retain backward compatibility. https://bugzilla.gnome.org/show_bug.cgi?id=761985
Diffstat (limited to 'Makefile.introspection')
-rw-r--r--Makefile.introspection2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.introspection b/Makefile.introspection
index 042cc65e..5b38e355 100644
--- a/Makefile.introspection
+++ b/Makefile.introspection
@@ -85,7 +85,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)" PKG_CONFIG="$(PKG_CONFIG)" DLLTOOL="$(DLLTOOL)"
+_gir_default_scanner_env = CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" CC="$(CC)" PKG_CONFIG="$(PKG_CONFIG)" GI_HOST_OS="$(GI_HOST_OS)" DLLTOOL="$(DLLTOOL)"
#
# Creates a GIR by scanning C headers/sources