summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan Dahlin <johan@gnome.org>2011-08-29 09:07:17 -0300
committerJohan Dahlin <jdahlin@litl.com>2011-08-29 09:07:17 -0300
commita24ec3706c7ad8d9ea559ecbd472902a2f3cc252 (patch)
treead17eb54f278c58c5c5c99a95dcbd848c3b8f872
parentb41b31e9e47116984aeef8d7a8bc1e9832a8e722 (diff)
downloadgobject-introspection-a24ec3706c7ad8d9ea559ecbd472902a2f3cc252.tar.gz
Use INTROSPECTION_SCANNER_ENV in Makefile.introspection
-rw-r--r--Makefile.introspection4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.introspection b/Makefile.introspection
index 0e81f556..4b70e3c4 100644
--- a/Makefile.introspection
+++ b/Makefile.introspection
@@ -11,6 +11,8 @@
# INTROSPECTION_SCANNER - Command to invoke scanner, normally set by
# GOBJECT_INTROSPECTION_REQUIRE/CHECK() in introspection.m4
# INTROSPECTION_SCANNER_ARGS - Additional args to pass in to the scanner
+# INTROSPECTION_SCANNER_ENV - Environment variables to set before running
+# the scanner
# INTROSPECTION_COMPILER - Command to invoke compiler, normally set by
# GOBJECT_INTROSPECTION_REQUIRE/CHECK() in introspection.m4
# INTROSPECTION_COMPILER_ARGS - Additional args to pass in to the compiler
@@ -122,7 +124,7 @@ $(if $(or $($(_gir_name)_LIBS),
# sure these are built before running the scanner. Libraries and programs
# needs to be added manually.
$(1): $$($(_gir_name)_FILES)
- $(_gir_silent_scanner_prefix) $(INTROSPECTION_SCANNER) $(_gir_silent_scanner_opts) \
+ $(_gir_silent_scanner_prefix) $(INTROSPECTION_SCANNER_ENV) $(INTROSPECTION_SCANNER) $(_gir_silent_scanner_opts) \
$(INTROSPECTION_SCANNER_ARGS) \
--namespace=$(_gir_namespace) \
--nsversion=$(_gir_version) \