diff options
author | Wez Furlong <wez@wezfurlong.org> | 2019-09-02 13:57:37 -0700 |
---|---|---|
committer | Wez Furlong <wez@wezfurlong.org> | 2019-09-15 16:36:32 -0700 |
commit | 03fdf70a7e22715de025f61fa905839e8dcc0186 (patch) | |
tree | 77b33d0b414e2b658263753c3151f5b80ccf4482 /libssh2-sys/build.rs | |
parent | ea200c833395fcfee73ff1dfc8cc16f5aba86a19 (diff) | |
download | ssh2-rs-03fdf70a7e22715de025f61fa905839e8dcc0186.zip |
link ntdll on windows for RtlGetVersion
Diffstat (limited to 'libssh2-sys/build.rs')
-rw-r--r-- | libssh2-sys/build.rs | 1 |
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"); } } |