summaryrefslogtreecommitdiffstats
path: root/vendor/windows_x86_64_msvc-0.28.0/build.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/windows_x86_64_msvc-0.28.0/build.rs')
-rw-r--r--vendor/windows_x86_64_msvc-0.28.0/build.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/vendor/windows_x86_64_msvc-0.28.0/build.rs b/vendor/windows_x86_64_msvc-0.28.0/build.rs
new file mode 100644
index 000000000..21933e60b
--- /dev/null
+++ b/vendor/windows_x86_64_msvc-0.28.0/build.rs
@@ -0,0 +1,9 @@
+fn main() {
+ if std::env::var("TARGET").unwrap() != "x86_64-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());
+}