diff --git a/stage0/build.rs b/stage0/build.rs index 4cc36de..461f020 100644 --- a/stage0/build.rs +++ b/stage0/build.rs @@ -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.