Skip to content

Commit

Permalink
Merge pull request #438 from qbx2/patch-1
Browse files Browse the repository at this point in the history
Fix misleading error message on pkg_config failure
  • Loading branch information
benesch authored Jan 30, 2022
2 parents 4da6a61 + 83a13fe commit 6b4c8ca
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rdkafka-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ fn main() {
eprintln!(" Path: {:?}", library.link_paths);
eprintln!(" Version: {}", library.version);
}
Err(_) => {
Err(err) => {
eprintln!(
"librdkafka {} cannot be found on the system",
librdkafka_version
"librdkafka {} cannot be found on the system: {}",
librdkafka_version, err
);
eprintln!("Dynamic linking failed. Exiting.");
process::exit(1);
Expand Down

0 comments on commit 6b4c8ca

Please sign in to comment.