summaryrefslogtreecommitdiffstats
path: root/vendor/windows_i686_msvc-0.28.0/build.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/windows_i686_msvc-0.28.0/build.rs')
-rw-r--r--vendor/windows_i686_msvc-0.28.0/build.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/vendor/windows_i686_msvc-0.28.0/build.rs b/vendor/windows_i686_msvc-0.28.0/build.rs
new file mode 100644
index 000000000..beb291126
--- /dev/null
+++ b/vendor/windows_i686_msvc-0.28.0/build.rs
@@ -0,0 +1,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());
+}