Skip to content

Commit

Permalink
build: dirty hack to solve dylib C linking issue
Browse files Browse the repository at this point in the history
Related issue: rust-lang/rust#64340
  • Loading branch information
Alex Kornitzer committed Apr 23, 2020
1 parent c459f3c commit f34b3c4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ fn link_nng() {
dst.join("lib64").display()
);

println!("cargo:rustc-link-lib=static=nng");
//println!("cargo:rustc-link-lib=static=nng");
println!("cargo:rustc-link-lib=nng");
}

#[cfg(not(feature = "build-nng"))]
Expand Down

0 comments on commit f34b3c4

Please sign in to comment.