allow passing Builder objects as sources to build targets - close #95
This commit is contained in:
1 parent
568b78e2e2
commit
008fa4844d
3 files changed
+15
No files matched your search
@@ -310,6 +310,7 @@ module Rscons
|
||||
end
|
||||
target = expand_path(expand_varref(target))
|
||||
sources = Array(sources).map do |source|
|
||||
source = source.target if sources.is_a?(Builder)
|
||||
expand_path(expand_varref(source))
|
||||
end.flatten
|
||||
builder = @builders[method.to_s].new(
|
||||
|
||||
Reference in new issue
Block a user