Browse Source

Merge pull request #6 from AzureMarker/fix/rustflags

pull/9/head
Meziu 3 years ago committed by GitHub
parent
commit
748c8f2f8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      src/main.rs

3
src/main.rs

@ -124,7 +124,8 @@ fn check_rust_version() {
} }
fn build_elf(args: &[&str]) { fn build_elf(args: &[&str]) {
let rustflags = format!("-L{}/libctru/lib -lctru ", env::var("DEVKITPRO").unwrap()); let rustflags = env::var("RUSTFLAGS").unwrap_or_default()
+ &format!(" -L{}/libctru/lib -lctru", env::var("DEVKITPRO").unwrap());
let mut process = Command::new("cargo") let mut process = Command::new("cargo")
.arg("build") .arg("build")

Loading…
Cancel
Save