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