Skip to content

Commit

Permalink
Disable static linking, cmake generates only dynamic library
Browse files Browse the repository at this point in the history
  • Loading branch information
sgoll committed Dec 14, 2023
1 parent 217323b commit a0bd7ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ fn main() {
.build();

println!("cargo:rustc-link-search={}", dst.join("lib").display());
println!("cargo:rustc-link-lib=static=open62541");
println!("cargo:rustc-link-lib=open62541");

let input = env::current_dir().unwrap().join("wrapper.h");

Expand Down

0 comments on commit a0bd7ec

Please sign in to comment.