From 1fc8156d31aac83a945cd21c436a745e319b2ba6 Mon Sep 17 00:00:00 2001 From: Fenrir Date: Fri, 7 Jul 2017 17:33:02 -0600 Subject: [PATCH] Fix ctru-rs build script The debug/release stuff isn't used until the next official release of libctru --- ctru-rs/build.rs | 6 ------ 1 file changed, 6 deletions(-) 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!(), - }); }