Skip to content

Commit

Permalink
Fix rustc-link-search path
Browse files Browse the repository at this point in the history
This closes issue #38
  • Loading branch information
jean-airoldie committed May 1, 2024
1 parent 7b528f4 commit 02e3ce5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/lib.rs
Expand Up @@ -328,7 +328,10 @@ impl Build {
build.define("ZMQ_HAVE_CURVE", "1");

build.include(libsodium.include_dir());
println!("cargo:rustc-link-search={:?}", libsodium.lib_dir());
println!(
"cargo:rustc-link-search={:?}",
libsodium.lib_dir().display()
);

if target.contains("msvc") {
fs::copy(
Expand Down

0 comments on commit 02e3ce5

Please sign in to comment.