Unverified Commit 8909d3e2 authored by Alex Gaynor's avatar Alex Gaynor Committed by GitHub
Browse files

Merge pull request #1983 from jpcw/master

OpenBSD case set openss_dir to /usr
parents e33b26e8 e89f0870
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -92,8 +92,8 @@ fn find_openssl_dir(target: &str) -> OsString {
    try_pkg_config();
    try_vcpkg();

    // FreeBSD ships with OpenSSL but doesn't include a pkg-config file :(
    if host == target && target.contains("freebsd") {
    // FreeBSD and OpenBSD ship with Libre|OpenSSL but don't include a pkg-config file
    if host == target && (target.contains("freebsd") || target.contains("openbsd")) {
        return OsString::from("/usr");
    }