aboutsummaryrefslogtreecommitdiff
path: root/openssl-sys
diff options
context:
space:
mode:
authorThomas Eizinger <[email protected]>2018-04-12 08:42:29 +1000
committerGitHub <[email protected]>2018-04-12 08:42:29 +1000
commitbbaec65b73e1e72ca648b51c8f0a1be8de6f5c2e (patch)
tree4457deb47deb1cae50741f34a3586506cae9986e /openssl-sys
parentchangelog (diff)
downloadrust-openssl-bbaec65b73e1e72ca648b51c8f0a1be8de6f5c2e.tar.xz
rust-openssl-bbaec65b73e1e72ca648b51c8f0a1be8de6f5c2e.zip
Include information about development packages
Building the crate on a system without the development packages of openssl installed fails. Issue #649 suggests to install those packages, which resolves the problem.
Diffstat (limited to 'openssl-sys')
-rw-r--r--openssl-sys/build.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/openssl-sys/build.rs b/openssl-sys/build.rs
index b139811e..0af3f8ed 100644
--- a/openssl-sys/build.rs
+++ b/openssl-sys/build.rs
@@ -133,6 +133,9 @@ Could not find directory of OpenSSL installation, and this `-sys` crate cannot
proceed without this knowledge. If OpenSSL is installed and this crate had
trouble finding it, you can set the `OPENSSL_DIR` environment variable for the
compilation process.
+
+Make sure you also have the development packages of openssl installed.
+For example, `libssl-dev` on Ubuntu or `openssl-devel` on Fedora.
If you're in a situation where you think the directory *should* be found
automatically, please open a bug at https://github.com/sfackler/rust-openssl