blob: fed2b28497c8b2d5eb4d074fa96a7c5e25ebda1b (
plain)
1
2
3
4
5
6
7
8
9
|
fn main() {
if std::env::var("TARGET").unwrap() != "i686-pc-windows-gnu" {
return;
}
let dir = std::env::var("CARGO_MANIFEST_DIR").unwrap();
println!("cargo:rustc-link-search=native={}", std::path::Path::new(&dir).join("lib").display());
}
|