Merge pull request #1092 from hvenev/build-export-vendored

Tell dependencies if vendored OpenSSL was used
This commit is contained in:
Steven Fackler 2019-04-03 19:26:10 -07:00 committed by GitHub
commit 63177bdf14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -3,6 +3,7 @@ use std::path::PathBuf;
pub fn get_openssl(_target: &str) -> (PathBuf, PathBuf) { pub fn get_openssl(_target: &str) -> (PathBuf, PathBuf) {
let artifacts = openssl_src::Build::new().build(); let artifacts = openssl_src::Build::new().build();
println!("cargo:vendored=1");
( (
artifacts.lib_dir().to_path_buf(), artifacts.lib_dir().to_path_buf(),
artifacts.include_dir().to_path_buf(), artifacts.include_dir().to_path_buf(),