Vendor things
This commit is contained in:
parent
5deceec006
commit
977e3c17e5
19434 changed files with 10682014 additions and 0 deletions
12
third-party/vendor/windows_i686_msvc/build.rs
vendored
Normal file
12
third-party/vendor/windows_i686_msvc/build.rs
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
fn main() {
|
||||
let family = std::env::var("CARGO_CFG_TARGET_FAMILY").unwrap();
|
||||
let arch = std::env::var("CARGO_CFG_TARGET_ARCH").unwrap();
|
||||
let env = std::env::var("CARGO_CFG_TARGET_ENV").unwrap();
|
||||
if family != "windows" || arch != "x86" || env != "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());
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue