diff --git a/lib/rscons/environment.rb b/lib/rscons/environment.rb index 82c7a5d..89e113b 100644 --- a/lib/rscons/environment.rb +++ b/lib/rscons/environment.rb @@ -285,7 +285,7 @@ module Rscons def process cache = Cache.instance begin - while @job_set.size > 0 + while @job_set.size > 0 or @threaded_commands.size > 0 targets_still_building = @threaded_commands.map do |tc| tc.build_operation[:target]