argv.push_back("-o");
argv.push_back(relative(bin.get_path(), work_dir).str());
- bool static_link_ok = (comp.get_package().get_library_mode()<=STATIC);
+ bool static_link_ok = (binfo.libmode<=BuildInfo::STATIC);
const Target::Dependencies &depends = target.get_depends();
for(Target::Dependencies::const_iterator i=depends.begin(); i!=depends.end(); ++i)