Commit 9cb3b44e authored by Steven Fackler's avatar Steven Fackler
Browse files

Oops, pass include dirs through for 1.0.0 versions too

parent 94d7c1ff
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;
    }