Skip to content

Commit 9cb0245

Browse files
authored
Fix build on macOS Catalina (#1)
Signed-off-by: Alexander Rodin <[email protected]>
1 parent caa1d92 commit 9cb0245

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rdkafka-sys/build.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ fn build_librdkafka() {
109109
}
110110

111111
println!("Configuring librdkafka");
112-
run_command_or_fail("librdkafka", "./configure", configure_flags.as_slice());
112+
run_command_or_fail("librdkafka", "sh", &[&["-c", "./configure"], configure_flags.as_slice()].concat());
113113

114114
println!("Compiling librdkafka");
115115
make_librdkafka();

0 commit comments

Comments
 (0)