From 1875a2ea6685fd39393e512f696983dcaae37264 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Thu, 27 Mar 2014 10:44:10 -0400 Subject: [PATCH] Pass the Environment object to build hooks in the :env key of the build_op parameter --- lib/rscons/environment.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/rscons/environment.rb b/lib/rscons/environment.rb index f51b091..12a6eb1 100644 --- a/lib/rscons/environment.rb +++ b/lib/rscons/environment.rb @@ -324,6 +324,7 @@ module Rscons target: target, sources: sources, vars: vars, + env: self, } build_hook_block.call(build_operation) end