Skip to content

Commit

Permalink
Update build.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
songhuaixu authored Apr 16, 2024
1 parent 5b1d746 commit b0c672b
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 @@ -18,7 +18,7 @@ fn main() {
let target_env = env::var("CARGO_CFG_TARGET_ENV").unwrap();

match (target_os.as_str(), target_env.as_str()) {
("linux", _) | ("windows", "gnu") => println!("cargo:rustc-link-lib=dylib=stdc++"),
("linux", _) | ("windows", "gnu") | ("android", _) => println!("cargo:rustc-link-lib=dylib=stdc++"),
("macos", _) | ("ios", _) => println!("cargo:rustc-link-lib=dylib=c++"),
("windows", "msvc") => {}
_ => unimplemented!(
Expand Down

0 comments on commit b0c672b

Please sign in to comment.