]> git.tdb.fi Git - builder.git/blobdiff - source/target.cpp
Add build info to tools and use it to pass runtime libs
[builder.git] / source / target.cpp
index 7c5532f9f8200daca4859cedaa51682a138a9a10..cb44b1322d19cad25e8c392077d3e6ea79925485 100644 (file)
@@ -87,6 +87,8 @@ void Target::set_tool(Tool &t)
 
 void Target::collect_build_info(BuildInfo &binfo) const
 {
+       if(tool)
+               binfo.update_from(tool->get_build_info());
        if(component)
                binfo.update_from(component->get_build_info());
        else if(package)