Browse Source

Minimize ctru-sys build script churn

pull/10/head
AzureMarker 3 years ago
parent
commit
f776cc18c6
No known key found for this signature in database
GPG Key ID: 47A133F3BF9D03D3
  1. 2
      ctru-sys/build.rs

2
ctru-sys/build.rs

@ -4,6 +4,8 @@ fn main() {
let dkp_path = env::var("DEVKITPRO").unwrap(); let dkp_path = env::var("DEVKITPRO").unwrap();
let profile = env::var("PROFILE").unwrap(); let profile = env::var("PROFILE").unwrap();
println!("cargo:rerun-if-changed=build.rs");
println!("cargo:rerun-if-env-changed=DEVKITPRO");
println!("cargo:rustc-link-search=native={}/libctru/lib", dkp_path); println!("cargo:rustc-link-search=native={}/libctru/lib", dkp_path);
println!( println!(
"cargo:rustc-link-lib=static={}", "cargo:rustc-link-lib=static={}",

Loading…
Cancel
Save