Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
Rust Openssl
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Public Repositories
Rust Openssl
Commits
86f0a0b8
Commit
86f0a0b8
authored
Jun 27, 2023
by
Jean-Philippe Camguilhem
Browse files
Options
Downloads
Patches
Plain Diff
https://github.com/sfackler/rust-openssl/pull/1983#discussion_r1243795604
parent
02d70b51
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
openssl-sys/build/find_normal.rs
+2
-7
2 additions, 7 deletions
openssl-sys/build/find_normal.rs
with
2 additions
and
7 deletions
openssl-sys/build/find_normal.rs
+
2
−
7
View file @
86f0a0b8
...
...
@@ -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"
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment