Unverified Commit dbc5459d authored by Steven Fackler's avatar Steven Fackler Committed by GitHub
Browse files

Merge pull request #1246 from mneumann/fix-build-on-dragonflybsd

Fix build on DragonFly
parents 1994a523 6254c188
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -60,6 +60,11 @@ fn find_openssl_dir(target: &str) -> OsString {
        return OsString::from("/usr");
    }

    // DragonFly has libressl (or openssl) in ports, but this doesn't include a pkg-config file
    if host == target && target.contains("dragonfly") {
        return OsString::from("/usr/local");
    }

    let mut msg = format!(
        "