lib/bake/util.rb in bake-toolkit-1.6.3 vs lib/bake/util.rb in bake-toolkit-1.7.0
- old
+ new
@@ -37,9 +37,10 @@
end
def integrateToolchain(tcs, toolchain)
return tcs unless toolchain
+ tcs[:OUTPUT_DIR] = toolchain.outputDir if toolchain.outputDir != ""
integrateLinker(tcs, toolchain.linker) if toolchain.respond_to?"linker"
integrateArchiver(tcs, toolchain.archiver)
toolchain.compiler.each do |c|
integrateCompiler(tcs, c, c.ctype)
end