Skip to content

Commit

Permalink
Correct the name of the pkgconf package on some distros
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanBrouwer committed Jun 25, 2024
1 parent 5095d7d commit ea10494
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 ea10494

Please sign in to comment.