fix variable references that expand to arrays in build target sources - fix #20
This commit is contained in:
1 parent
cb3cc9a0de
commit
76610a07a9
3 files changed
+12
-1
No files matched your search
@@ -683,7 +683,7 @@ module Rscons
|
||||
sources = target_params[:sources].map do |source|
|
||||
source = expand_path(source) if @build_root
|
||||
expand_varref(source)
|
||||
end
|
||||
end.flatten
|
||||
target = expand_path(target) if @build_root
|
||||
target = expand_varref(target)
|
||||
result[target] = target_params.merge(sources: sources)
|
||||
|
||||
Reference in new issue
Block a user