Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct the name of the pkgconf package on some distros #2253

Merged
merged 1 commit into from
Jun 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion openssl-sys/build/find_normal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ installing `pkg-config`.
It looks like you're compiling for MinGW but you may not have either OpenSSL or
pkg-config installed. You can install these two dependencies with:

pacman -S openssl-devel pkg-config
pacman -S openssl-devel pkgconf

and try building this crate again.

Expand Down
8 changes: 4 additions & 4 deletions openssl-sys/build/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -271,13 +271,13 @@ pointing to your OpenSSL installation or installing OpenSSL headers package
specific to your distribution:

# On Ubuntu
sudo apt-get install libssl-dev
sudo apt-get install pkg-config libssl-dev
# On Arch Linux
sudo pacman -S openssl
sudo pacman -S pkgconf openssl
# On Fedora
sudo dnf install openssl-devel
sudo dnf install pkgconf perl-FindBin perl-IPC-Cmd openssl-devel
# On Alpine Linux
apk add openssl-dev
apk add pkgconf openssl-dev

See rust-openssl documentation for more information:

Expand Down
6 changes: 3 additions & 3 deletions openssl/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,16 @@
//! $ sudo pkgin install openssl
//!
//! # Arch Linux
//! $ sudo pacman -S pkg-config openssl
//! $ sudo pacman -S pkgconf openssl
//!
//! # Debian and Ubuntu
//! $ sudo apt-get install pkg-config libssl-dev
//!
//! # Fedora
//! $ sudo dnf install pkg-config perl-FindBin perl-IPC-Cmd openssl-devel
//! $ sudo dnf install pkgconf perl-FindBin perl-IPC-Cmd openssl-devel
//!
//! # Alpine Linux
//! $ apk add pkgconfig openssl-dev
//! $ apk add pkgconf openssl-dev
//!
//! # openSUSE
//! $ sudo zypper in libopenssl-devel
Expand Down
Loading