Skip to content

Commit 2de618b

Browse files
milesialrakhmets
andauthored
Add NIXL_PREFIX to the lib search path (#998)
Signed-off-by: milesial <[email protected]> Co-authored-by: Raul Akhmetshin <[email protected]>
1 parent 04e1216 commit 2de618b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bindings/rust/build.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ fn build_nixl(cc_builder: &mut cc::Build) {
108108

109109
// Add all possible library paths
110110
println!("cargo:rustc-link-search=native={}", nixl_lib_path);
111+
println!("cargo:rustc-link-search=native={}", nixl_root_path);
111112
println!("cargo:rustc-link-search=native={}/lib", nixl_root_path);
112113
println!("cargo:rustc-link-search=native={}/lib64", nixl_root_path);
113114
println!("cargo:rustc-link-search=native={}/lib/x86_64-linux-gnu", nixl_root_path);

0 commit comments

Comments
 (0)