}
}
else
- system_path.push_back("/usr/"+architecture->get_cross_prefix()+"/lib");
+ system_path.push_back(format("/usr/%s/lib", architecture->get_cross_prefix()));
}
}
{
const Binary &bin = dynamic_cast<const Binary &>(target);
- vector<string> argv;
+ ExternalTask::Arguments argv;
argv.push_back(executable->get_path().str());
FS::Path work_dir = bin.get_component()->get_package().get_source_directory();
{
if(compiler_tag=="CXX")
{
- BuildInfo::LibModeMap::const_iterator i = binfo.libmodes.find("stdc++");
+ auto i = binfo.libmodes.find("stdc++");
if(i!=binfo.libmodes.end() && i->second<=BuildInfo::STATIC)
argv.push_back("-static-libstdc++");
}