diff --git a/openssl-sys/build/find_normal.rs b/openssl-sys/build/find_normal.rs index 1439e9ab3..1bed3d9cc 100644 --- a/openssl-sys/build/find_normal.rs +++ b/openssl-sys/build/find_normal.rs @@ -92,8 +92,8 @@ 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 but don't include a pkg-config file + if host == target && (target.contains("freebsd") || target.contains("openbsd") || target.contains("aix")) { return OsString::from("/usr"); }