From dd261e4305f568efa1548e72446881fafba139e6 Mon Sep 17 00:00:00 2001 From: Will Date: Thu, 12 Feb 2015 13:32:39 +0900 Subject: [PATCH] Add clarifying comment for BSD special case --- openssl-sys/build.rs | 1 + 1 file changed, 1 insertion(+) 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