aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--openssl-sys/build.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/openssl-sys/build.rs b/openssl-sys/build.rs
index cfeab5ff..2e876ba3 100644
--- a/openssl-sys/build.rs
+++ b/openssl-sys/build.rs
@@ -27,6 +27,7 @@ fn main() {
return;
}
+ // pkg-config doesn't know of OpenSSL on FreeBSD 10.1 and OpenBSD uses LibreSSL
if target.contains("bsd") {
println!("cargo:rustc-flags=-l crypto -l ssl");
// going to assume the base system includes a new version of openssl