Skip to content

Commit

Permalink
add static build in linux
Browse files Browse the repository at this point in the history
  • Loading branch information
BenLocal committed Jul 5, 2024
1 parent d843f6f commit 348c83a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rszlm-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,8 @@ fn link_static(zlm_link_path: &PathBuf) {
println!("cargo:rustc-link-lib=c++");
println!("cargo:rustc-link-lib=framework=Foundation");
} else if target_os == "linux" || target_os == "android" {
println!("cargo:rustc-link-lib=ssl");
println!("cargo:rustc-link-lib=crypto");
println!("cargo:rustc-link-lib=stdc++");
}
}
Expand Down

0 comments on commit 348c83a

Please sign in to comment.