Skip to content

Commit

Permalink
Replaces '-static-libstdc++' with '-l:libstdc++.a'
Browse files Browse the repository at this point in the history
  • Loading branch information
ultimaweapon committed Sep 21, 2023
1 parent 8bb2a1b commit 0515b35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stage0/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ fn main() {
let os = std::env::var("CARGO_CFG_TARGET_OS").unwrap();

if profile == "release" && os == "linux" {
println!("cargo:rustc-link-arg-bins=-static-libstdc++");
println!("cargo:rustc-link-arg-bins=-l:libstdc++.a");
}

// Link FFI library.
Expand Down

0 comments on commit 0515b35

Please sign in to comment.