Skip to content

Commit 821758a

Browse files
Rust wrapper: set rpath for unit test binaries
1 parent ed46357 commit 821758a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

wrapper/rust/wolfssl/build.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ fn setup_wolfssl_link() -> Result<()> {
2626

2727
println!("cargo:rustc-link-search={}", wolfssl_lib_dir);
2828
println!("cargo:rustc-link-lib=wolfssl");
29+
println!("cargo:rustc-link-arg=-Wl,-rpath,{}", wolfssl_lib_dir);
2930

3031
Ok(())
3132
}

0 commit comments

Comments
 (0)