aboutsummaryrefslogtreecommitdiff
path: root/openssl-sys
diff options
context:
space:
mode:
authorSteven Fackler <[email protected]>2017-01-03 12:37:04 -0800
committerGitHub <[email protected]>2017-01-03 12:37:04 -0800
commit95a26604996eeea84d49a20e1269912011ab5700 (patch)
treea938ba68539c26393986787158bfc5e262fffe48 /openssl-sys
parentTypo (diff)
parentImproving missing OpenSSL message on Linux (diff)
downloadrust-openssl-95a26604996eeea84d49a20e1269912011ab5700.tar.xz
rust-openssl-95a26604996eeea84d49a20e1269912011ab5700.zip
Merge pull request #544 from tomusdrw/master
Improving missing OpenSSL message on Linux
Diffstat (limited to 'openssl-sys')
-rw-r--r--openssl-sys/build.rs17
1 files changed, 14 insertions, 3 deletions
diff --git a/openssl-sys/build.rs b/openssl-sys/build.rs
index b530c2e3..c59a76d4 100644
--- a/openssl-sys/build.rs
+++ b/openssl-sys/build.rs
@@ -184,9 +184,20 @@ Used pkg-config to discover the OpenSSL installation, but pkg-config did not
return any include paths for the installation. This crate needs to take a peek
at the header files so it cannot proceed unless they're found.
-You can try fixing this by setting the `OPENSSL_DIR` environment variable
-pointing to your OpenSSL installation.
-
+You can try fixing this setting the `OPENSSL_DIR` environment variable
+pointing to your OpenSSL installation or installing OpenSSL headers package
+specific to your distribution:
+
+ # On Ubuntu
+ sudo apt-get install libssl-dev
+ # On Arch Linux
+ sudo pacman -S openssl
+ # On Fedora
+ sudo dnf install openssl-devel
+
+See rust-openssl README for more information:
+
+ https://github.com/sfackler/rust-openssl#linux
");
}