From a24ec3706c7ad8d9ea559ecbd472902a2f3cc252 Mon Sep 17 00:00:00 2001 From: Johan Dahlin Date: Mon, 29 Aug 2011 09:07:17 -0300 Subject: Use INTROSPECTION_SCANNER_ENV in Makefile.introspection --- Makefile.introspection | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Makefile.introspection') 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) \ -- cgit v1.2.1