Skip to content

Commit

Permalink
Allow build to continue when cross compiling
Browse files Browse the repository at this point in the history
`pkg-config-rs` does not support dynamically linking against a non-host target (see rust-lang/pkg-config-rs#53).

If librdkafka isn't found we will continue regardless.
  • Loading branch information
lorcanmcdonald committed Oct 9, 2018
1 parent 27ca77e commit 994652e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions rdkafka-sys/build.rs
Expand Up @@ -48,8 +48,6 @@ fn main() {
}
Err(_) => {
println_stderr!("librdkafka {} cannot be found on the system", librdkafka_version);
println_stderr!("Dynamic linking failed. Exiting.");
process::exit(1);
}
}
} else {
Expand Down

0 comments on commit 994652e

Please sign in to comment.