Use openssl-probe (fix #161)

The distributed binaries are statically linked with OpenSSL, which means we have to use
openssl-probe in order to make sure they work on all systems.
This commit is contained in:
Roey Darwish Dror
2019-06-02 10:02:13 +03:00
parent ca078feb4c
commit 693935816a
3 changed files with 6 additions and 1 deletions

View File

@@ -30,6 +30,7 @@ chrono = "0.4.6"
tokio = "0.1.21"
tokio-process = "0.2.3"
futures = "0.1.27"
openssl-probe = { version = "0.1.2", optional = true }
[target.'cfg(unix)'.dependencies]
nix = "0.14.0"
@@ -40,4 +41,4 @@ lto = true
[features]
default = []
self-update = ["self_update_crate"]
self-update = ["self_update_crate", "openssl-probe"]