pick right host object name

This commit is contained in:
Folkert de Vries 2022-08-01 23:20:46 +02:00
parent 51fdd43838
commit 06e5fe8cba

View File

@ -423,7 +423,10 @@ pub fn rebuild_host(
host_input_path.with_file_name(if shared_lib_path.is_some() {
"dynhost"
} else {
"host.o"
match roc_target::Architecture::from(target.architecture) {
roc_target::Architecture::Windows64 => "host.obj",
_ => "host.o",
}
})
};