Skip to content

Commit

Permalink
Merge pull request sfackler#1983 from jpcw/master
Browse files Browse the repository at this point in the history
OpenBSD case set openss_dir to /usr
  • Loading branch information
alex authored Jun 27, 2023
2 parents e33b26e + e89f087 commit 8909d3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openssl-sys/build/find_normal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}

Expand Down

0 comments on commit 8909d3e

Please sign in to comment.