From f542cb10d67dbe31350aa7c0dde6765c16cbfd57 Mon Sep 17 00:00:00 2001 From: Andrea Ciliberti Date: Sat, 1 Jan 2022 22:53:00 +0100 Subject: [PATCH] Fixed missing libraries --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index e0cded4..4f57731 100644 --- a/src/main.rs +++ b/src/main.rs @@ -110,7 +110,7 @@ fn check_rust_version() { fn build_elf(args: std::iter::Skip) { let rustflags = env::var("RUSTFLAGS").unwrap_or("".into()) - + "-Clink-arg=-z -Clink-arg=muldefs -Clink-arg=-D__3DS__"; + + "-C default-linker-libraries -Clink-arg=-z -Clink-arg=muldefs -Clink-arg=-D__3DS__"; let mut process = Command::new("cargo") .arg("build")