From 03fdf70a7e22715de025f61fa905839e8dcc0186 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Mon, 2 Sep 2019 13:57:37 -0700 Subject: link ntdll on windows for RtlGetVersion --- libssh2-sys/build.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'libssh2-sys/build.rs') 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"); } } -- cgit v1.2.3