From 8ed840cdf5e5b36933aed527c5412225d3d222a3 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Tue, 13 Oct 2015 15:58:45 -0700 Subject: [PATCH] Add metadata for the include dir of openssl If OpenSSL is installed at a nonstandard location dependencies on OpenSSL may want to know where it was found to be installed at. --- openssl-sys/build.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/openssl-sys/build.rs b/openssl-sys/build.rs index 5f9348889..aa47f2def 100644 --- a/openssl-sys/build.rs +++ b/openssl-sys/build.rs @@ -62,6 +62,7 @@ fn main() { let mut include_dirs = vec![]; if let Some(include_dir) = include_dir { + println!("cargo:include={}", include_dir); include_dirs.push(PathBuf::from(&include_dir)); } -- GitLab