Msp::FS::Path SourcePackage::get_out_dir() const
{
- const std::string &arch_name=builder.get_current_arch().get_name();
- if(arch_name=="native")
+ const Architecture &arch=builder.get_current_arch();
+ if(arch.is_native())
return source/config.get_option("outdir").value;
else
- return source/arch_name/config.get_option("outdir").value;
+ return source/arch.get_name()/config.get_option("outdir").value;
}
/**