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.
This commit is contained in:
Alex Crichton 2015-10-13 15:58:45 -07:00
parent 8f5b67fed4
commit 8ed840cdf5
1 changed files with 1 additions and 0 deletions

View File

@ -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));
}