]>
Commit | Line | Data |
---|---|---|
58af92ad | 1 | Bug: https://github.com/rust-lang/rust/issues/68973 |
27da05fd | 2 | |
cefde48f XL |
3 | --- a/compiler/rustc_target/src/spec/windows_gnu_base.rs |
4 | +++ b/compiler/rustc_target/src/spec/windows_gnu_base.rs | |
5 | @@ -38,6 +38,8 @@ | |
6301fb50 XL |
6 | "-lmsvcrt".to_string(), |
7 | "-luser32".to_string(), | |
8 | "-lkernel32".to_string(), | |
9 | + "-lssp_nonshared".to_string(), | |
10 | + "-lssp".to_string(), | |
11 | ]; | |
12 | late_link_args.insert(LinkerFlavor::Gcc, mingw_libs.clone()); | |
13 | late_link_args.insert(LinkerFlavor::Lld(LldFlavor::Ld), mingw_libs); |