Skip to content
Snippets Groups Projects
Commit 86f0a0b8 authored by Jean-Philippe Camguilhem's avatar Jean-Philippe Camguilhem
Browse files
parent 02d70b51
Branches
No related tags found
No related merge requests found
......@@ -92,13 +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") {
return OsString::from("/usr");
}
// OpenBSD ships with LibreSSL but doesn't include a pkg-config file :(
if host == target && target.contains("openbsd") {
// 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");
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment