Static builds for *-pc-windows-gnu targets broke, because the linker
would look for the incorrect libraries. OpenSSL builds produce
libssl.dll rather than ssl.dll which makes the linker unhappy with the
normal -lssl -lcrypto [1].
A workaround could be used:
export OPENSSL_LIBS="ssl:crypto"
but it's arguably better to have the openssl-sys crate do the right
thing.
[1] http://www.mingw.org/wiki/specify_the_libraries_for_the_linker_to_use
|
||
|---|---|---|
| .. | ||
| build | ||
| src | ||
| CHANGELOG.md | ||
| Cargo.toml | ||
| LICENSE-MIT | ||
| README.md | ||
README.md
rust-openssl
OpenSSL bindings for the Rust programming language.
Release Support
The current supported release of openssl is 0.10 and openssl-sys is 0.9.
New major versions will be published at most once per year. After a new release, the previous major version will be partially supported with bug fixes for 3 months, after which support will be dropped entirely.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed under the terms of both the Apache License, Version 2.0 and the MIT license without any additional terms or conditions.