Skip to content

Commit

Permalink
Merge pull request #2253 from JonathanBrouwer/master
Browse files Browse the repository at this point in the history
Correct the name of the `pkgconf` package on some distros
  • Loading branch information
Skepfyr committed Jun 26, 2024
2 parents 5095d7d + ea10494 commit 1b4c9b0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
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

0 comments on commit 1b4c9b0

Please sign in to comment.