Skip to content

Commit c2e12a4

Browse files
committed
Add native lib path /usr/lib64 for liburing.a on centos.
Signed-off-by: Jason Volk <jason@zemos.net>
1 parent f111d19 commit c2e12a4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

librocksdb-sys/build.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,7 @@ fn build_rocksdb() {
309309
config.define("ROCKSDB_IOURING_PRESENT", Some("1"));
310310

311311
let mode = if cfg!(feature = "static") {
312+
println!("cargo:rustc-link-search=native=/usr/lib64"); // for centos
312313
"=static"
313314
} else {
314315
""

0 commit comments

Comments
 (0)