diff options
| author | Steven Fackler <[email protected]> | 2018-06-29 12:34:27 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-06-29 12:34:27 -0700 |
| commit | 3524ac09b3c81645cc07444a61e63b7ed27fcc07 (patch) | |
| tree | ea93340edbeba58392079dfb835c2eadb303e8c2 | |
| parent | Merge pull request #953 from sfackler/sfackler-patch-1 (diff) | |
| parent | Link all needed system libraries on Windows, when building statically (diff) | |
| download | rust-openssl-3524ac09b3c81645cc07444a61e63b7ed27fcc07.tar.xz rust-openssl-3524ac09b3c81645cc07444a61e63b7ed27fcc07.zip | |
Merge pull request #954 from pinkisemils/output-all-msvc-linker-args
Link all needed system libraries on Windows, when building statically
| -rw-r--r-- | openssl-sys/Cargo.toml | 2 | ||||
| -rw-r--r-- | openssl-sys/build/main.rs | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/openssl-sys/Cargo.toml b/openssl-sys/Cargo.toml index 760b3b50..b48d3055 100644 --- a/openssl-sys/Cargo.toml +++ b/openssl-sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "openssl-sys" -version = "0.9.33" +version = "0.9.34" authors = ["Alex Crichton <[email protected]>", "Steven Fackler <[email protected]>"] license = "MIT" diff --git a/openssl-sys/build/main.rs b/openssl-sys/build/main.rs index b8541fca..24f69018 100644 --- a/openssl-sys/build/main.rs +++ b/openssl-sys/build/main.rs @@ -103,6 +103,10 @@ fn main() { if kind == "static" && target.contains("windows") { println!("cargo:rustc-link-lib=dylib=gdi32"); + println!("cargo:rustc-link-lib=dylib=user32"); + println!("cargo:rustc-link-lib=dylib=crypt32"); + println!("cargo:rustc-link-lib=dylib=ws2_32"); + println!("cargo:rustc-link-lib=dylib=advapi32"); } } |