Merge pull request #1092 from hvenev/build-export-vendored
Tell dependencies if vendored OpenSSL was used
This commit is contained in:
commit
63177bdf14
|
|
@ -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(),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue