cloned Environments should inherit n_threads - close #42
This commit is contained in:
1 parent
2a96495e83
commit
775363ddbd
3 files changed
+15
No files matched your search
@@ -118,6 +118,7 @@ module Rscons
|
||||
env.add_post_build_hook(&build_hook_block)
|
||||
end
|
||||
end
|
||||
env.instance_variable_set(:@n_threads, @n_threads)
|
||||
|
||||
if block_given?
|
||||
yield env
|
||||
|
||||
Reference in new issue
Block a user