Skip to content

Commit 642daa6

Browse files
committed
1 parent d116d13 commit 642daa6

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

rdkafka-sys/build.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,9 +229,13 @@ fn build_librdkafka() {
229229
config.cxxflag("-DCURL_STATICLIB");
230230
config.cflag(format!("-I{}/include", curl_root));
231231
config.cxxflag(format!("-I{}/include", curl_root));
232+
233+
config.define("WITH_OAUTHBEARER_OIDC", "1");
232234
}
233235
} else {
234236
config.define("WITH_CURL", "0");
237+
// requires curl
238+
config.define("WITH_OAUTHBEARER_OIDC", "0");
235239
}
236240

237241
if env::var("CARGO_FEATURE_SSL").is_ok() {

rdkafka-sys/librdkafka

0 commit comments

Comments
 (0)