fix variable references that expand to arrays in build target sources - fix #20

This commit is contained in:
josh committed 2015-01-20 21:26:45 -05:00
1 parent cb3cc9a0de
commit 76610a07a9
3 files changed
+12 -1

No files matched your search

+1 -1
View File
@@ -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)