1
0
forked from M-Labs/nac3

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

View File

@ -176,7 +176,7 @@ impl Nac3 {
"-Tkernel.ld".to_string(),
"-x".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"));
if let Ok(linker_status) = Command::new("ld.lld").args(linker_args).status() {