From ea104940d4a0142fa5b88a02284bbb8c0a214bd5 Mon Sep 17 00:00:00 2001 From: Jonathan Brouwer Date: Tue, 25 Jun 2024 13:43:50 +0200 Subject: [PATCH] Correct the name of the `pkgconf` package on some distros --- openssl-sys/build/find_normal.rs | 2 +- openssl-sys/build/main.rs | 8 ++++---- openssl/src/lib.rs | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/openssl-sys/build/find_normal.rs b/openssl-sys/build/find_normal.rs index ce278f5c76..1e910a0eee 100644 --- a/openssl-sys/build/find_normal.rs +++ b/openssl-sys/build/find_normal.rs @@ -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. diff --git a/openssl-sys/build/main.rs b/openssl-sys/build/main.rs index be4c214369..528d5a05fd 100644 --- a/openssl-sys/build/main.rs +++ b/openssl-sys/build/main.rs @@ -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: diff --git a/openssl/src/lib.rs b/openssl/src/lib.rs index ed0077e379..555eda9720 100644 --- a/openssl/src/lib.rs +++ b/openssl/src/lib.rs @@ -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