Oops, pass include dirs through for 1.0.0 versions too
This commit is contained in:
parent
94d7c1ff88
commit
9cb3b44e9a
|
|
@ -24,8 +24,8 @@ fn main() {
|
|||
return;
|
||||
}
|
||||
|
||||
if pkg_config::Config::new().atleast_version("1.0.0").find("openssl").is_ok() {
|
||||
build_old_openssl_shim(false, vec![]);
|
||||
if let Ok(info) = pkg_config::Config::new().atleast_version("1.0.0").find("openssl") {
|
||||
build_old_openssl_shim(false, info.include_paths);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue