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

Merge pull request #2401 from daltenty/daltenty/aix

[AIX] use /usr to find_openssl_dir
parents e6209d43 5bd5d389
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -92,8 +92,11 @@ fn find_openssl_dir(target: &str) -> OsString {
    try_pkg_config();
    try_vcpkg();

    // FreeBSD and OpenBSD ship with Libre|OpenSSL but don't include a pkg-config file
    if host == target && (target.contains("freebsd") || target.contains("openbsd")) {
    // FreeBSD, OpenBSD, and AIX ship with Libre|OpenSSL
    // TODO: see of this is still needed for OpenBSD
    if host == target
        && (target.contains("freebsd") || target.contains("openbsd") || target.contains("aix"))
    {
        return OsString::from("/usr");
    }