Fenrir
7 years ago
committed by
FenrirWolf
2 changed files with 0 additions and 13 deletions
@ -1,11 +0,0 @@ |
|||||||
use std::env; |
|
||||||
|
|
||||||
fn main() { |
|
||||||
let dkp_path = env::var("DEVKITPRO").unwrap(); |
|
||||||
|
|
||||||
println!("cargo:rustc-link-search=native={}/libctru/lib", dkp_path); |
|
||||||
println!("cargo:rustc-link-lib=static={}", match env::var("PROFILE").unwrap().as_str() { |
|
||||||
"debug" => "ctrud", |
|
||||||
_ => "ctru", |
|
||||||
}); |
|
||||||
} |
|
Loading…
Reference in new issue