Skip to content

Commit db7a093

Browse files
committed
Fix liburing.a path issue on centos; allow shared liburing.so fallback. (356fd5e)
Signed-off-by: Jason Volk <jason@zemos.net>
1 parent f111d19 commit db7a093

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

librocksdb-sys/build.rs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -307,13 +307,7 @@ fn build_rocksdb() {
307307
pkg_config::probe_library("liburing")
308308
.expect("The io-uring feature was requested but the library is not available");
309309
config.define("ROCKSDB_IOURING_PRESENT", Some("1"));
310-
311-
let mode = if cfg!(feature = "static") {
312-
"=static"
313-
} else {
314-
""
315-
};
316-
println!("cargo:rustc-link-lib{mode}=uring");
310+
println!("cargo:rustc-link-lib=uring");
317311
}
318312

319313
if &target != "armv7-linux-androideabi"

0 commit comments

Comments
 (0)