lib/blocks/compile.rb in bake-toolkit-2.54.1 vs lib/blocks/compile.rb in bake-toolkit-2.54.2
- old
+ new
@@ -559,14 +559,14 @@
end
if (sources.define.length > 0 or sources.flags.length > 0)
icf = integrateCompilerFile(Utils.deep_copy(@block.tcs),sources)
end
res.each do |f|
+ @fileTcs[f] = icf if icf && !@fileTcs.has_key?(f)
next if exclude_files.include?(f)
next if source_files.include?(f)
source_files << f
@source_files << f
- @fileTcs[f] = icf if icf
@source_files_ignored_in_lib << f if sources.compileOnly
end
end
if Bake.options.filename
\ No newline at end of file