nac3embedded: do not use *.so for output to avoid confusing cpython

This commit is contained in:
Sebastien Bourdeauducq 2021-09-24 13:25:43 +08:00
parent bed8ce1f26
commit bf48151748
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ impl Nac3 {
"-Tkernel.ld".to_string(), "-Tkernel.ld".to_string(),
"-x".to_string(), "-x".to_string(),
"-o".to_string(), "-o".to_string(),
"module.so".to_string() "module.elf".to_string()
]; ];
linker_args.extend(thread_names.iter().map(|name| name.to_owned() + ".o")); linker_args.extend(thread_names.iter().map(|name| name.to_owned() + ".o"));
if let Ok(linker_status) = Command::new("ld.lld").args(linker_args).status() { if let Ok(linker_status) = Command::new("ld.lld").args(linker_args).status() {