Pass the Environment object to build hooks in the :env key of the build_op parameter

This commit is contained in:
Josh Holtrop 2014-03-27 10:44:10 -04:00
parent cbd5816b4b
commit 1875a2ea66

View File

@ -324,6 +324,7 @@ module Rscons
target: target, target: target,
sources: sources, sources: sources,
vars: vars, vars: vars,
env: self,
} }
build_hook_block.call(build_operation) build_hook_block.call(build_operation)
end end