[gobject-introspection] Use INTROSPECTION_SCANNER_ENV in Makefile.introspection



commit a24ec3706c7ad8d9ea559ecbd472902a2f3cc252
Author: Johan Dahlin <johan gnome org>
Date:   Mon Aug 29 09:07:17 2011 -0300

    Use INTROSPECTION_SCANNER_ENV in Makefile.introspection

 Makefile.introspection |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/Makefile.introspection b/Makefile.introspection
index 0e81f55..4b70e3c 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) \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]