diff options
| author | Fenrir <[email protected]> | 2017-07-07 17:33:02 -0600 |
|---|---|---|
| committer | Fenrir <[email protected]> | 2017-07-10 11:31:47 -0600 |
| commit | 1fc8156d31aac83a945cd21c436a745e319b2ba6 (patch) | |
| tree | f4c62ccf00481e28e8777a44a43d1f1dd10bca87 | |
| parent | Go back to using pre-generated bindings (diff) | |
| download | archived-ctru-rs-1fc8156d31aac83a945cd21c436a745e319b2ba6.tar.xz archived-ctru-rs-1fc8156d31aac83a945cd21c436a745e319b2ba6.zip | |
Fix ctru-rs build script
The debug/release stuff isn't used until the next official release of libctru
| -rw-r--r-- | ctru-rs/build.rs | 6 |
1 files changed, 0 insertions, 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!(), - }); } |