diff --git a/ctru-rs/build.rs b/ctru-rs/build.rs index ee5b30b..4a4d627 100644 --- a/ctru-rs/build.rs +++ b/ctru-rs/build.rs @@ -3,11 +3,5 @@ use std::path::PathBuf; fn main() { let dkp_path = PathBuf::from(env::var("DEVKITPRO").unwrap()); - println!("cargo:rustc-link-search=native={}", dkp_path.join("libctru/lib").display()); - println!("cargo:rustc-link-lib=static={}", match env::var("PROFILE").unwrap().as_str() { - "release" => "ctru", - "debug" => "ctrud", - _ => unreachable!(), - }); }