summaryrefslogtreecommitdiff
path: root/libssh2-sys
diff options
context:
space:
mode:
authorWez Furlong <wez@wezfurlong.org>2019-09-02 13:57:37 -0700
committerWez Furlong <wez@wezfurlong.org>2019-09-15 16:36:32 -0700
commit03fdf70a7e22715de025f61fa905839e8dcc0186 (patch)
tree77b33d0b414e2b658263753c3151f5b80ccf4482 /libssh2-sys
parentea200c833395fcfee73ff1dfc8cc16f5aba86a19 (diff)
downloadssh2-rs-03fdf70a7e22715de025f61fa905839e8dcc0186.zip
link ntdll on windows for RtlGetVersion
Diffstat (limited to 'libssh2-sys')
-rw-r--r--libssh2-sys/build.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/libssh2-sys/build.rs b/libssh2-sys/build.rs
index a4f9cd8..1a406a3 100644
--- a/libssh2-sys/build.rs
+++ b/libssh2-sys/build.rs
@@ -164,6 +164,7 @@ fn main() {
println!("cargo:rustc-link-lib=bcrypt");
println!("cargo:rustc-link-lib=crypt32");
println!("cargo:rustc-link-lib=user32");
+ println!("cargo:rustc-link-lib=ntdll");
}
}