Skip to content

Commit

Permalink
remove iOS target from pkg-config installation instructions as Homebr…
Browse files Browse the repository at this point in the history
…ew does not support it

Signed-off-by: Rui Chen <[email protected]>
  • Loading branch information
chenrui333 committed Dec 20, 2024
1 parent 19cdc2d commit 3c2aa27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ impl fmt::Display for Error {
io::ErrorKind::NotFound => {
let crate_name =
std::env::var("CARGO_PKG_NAME").unwrap_or_else(|_| "sys".to_owned());
let instructions = if cfg!(target_os = "macos") || cfg!(target_os = "ios") {
let instructions = if cfg!(target_os = "macos") {
"Try `brew install pkgconf` if you have Homebrew.\n"
} else if cfg!(unix) {
"Try `apt install pkg-config`, or `yum install pkg-config`,\n\
Expand Down

0 comments on commit 3c2aa27

Please sign in to comment.