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