Browse Source

Fixed missing libraries

pull/5/head
Andrea Ciliberti 3 years ago
parent
commit
f542cb10d6
  1. 2
      src/main.rs

2
src/main.rs

@ -110,7 +110,7 @@ fn check_rust_version() {
fn build_elf(args: std::iter::Skip<env::Args>) { fn build_elf(args: std::iter::Skip<env::Args>) {
let rustflags = env::var("RUSTFLAGS").unwrap_or("".into()) 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") let mut process = Command::new("cargo")
.arg("build") .arg("build")

Loading…
Cancel
Save