We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b61da0 commit 7cb9bf1Copy full SHA for 7cb9bf1
boring-sys/build/main.rs
@@ -553,7 +553,7 @@ fn get_cpp_runtime_lib(config: &Config) -> Option<String> {
553
554
match &*config.target_os {
555
"macos" | "ios" | "freebsd" | "android" => Some("c++".into()),
556
- _ if config.unix => Some("stdc++".into()),
+ _ if config.unix || config.target_env == "gnu" => Some("stdc++".into()),
557
// TODO(rmehra): figure out how to do this for windows
558
_ => None,
559
}
0 commit comments