Expand target and sources before calling Builder#create_build_target

This commit is contained in:
josh committed 2017-06-06 16:43:26 -04:00
1 parent df52a7e0e1
commit 3436dc3a64
2 files changed
+33 -33

No files matched your search

+1 -1
View File
@@ -41,7 +41,7 @@ module Rscons
def create_build_target(options)
env, target, vars = options.values_at(:env, :target, :vars)
my_options = options.dup
unless env.expand_varref(target, vars) =~ /\./
unless target["."]
my_options[:target] += env.expand_varref("${PROGSUFFIX}", vars)
end
super(my_options)