Commit fb9420fc authored by Steven Fackler's avatar Steven Fackler
Browse files

Always dump openssl confs

parent 91fd58b4
Loading
Loading
Loading
Loading
+43 −45
Original line number Diff line number Diff line
@@ -247,7 +247,6 @@ The build is now aborting due to this version mismatch.
    // file of OpenSSL, `opensslconf.h`, and then dump out everything it defines
    // as our own #[cfg] directives. That way the `ossl10x.rs` bindings can
    // account for compile differences and such.
    if version_text.contains("0x1000") {
    let mut conf_header = String::new();
    let mut include = include_dirs.iter()
                                  .map(|p| p.join("openssl/opensslconf.h"))
@@ -296,7 +295,6 @@ The build is now aborting due to this version mismatch.
        }
    }
    println!("cargo:conf={}", vars.join(","));
    }

    return version_text.to_string()
}