Add "-lmsvcrt" twice to get rustc to build with the latest mingw64
This commit is contained in:
parent
80e2e67f4c
commit
bfde33f2fb
1 changed files with 1 additions and 0 deletions
|
|
@ -59,6 +59,7 @@ pub fn opts() -> TargetOptions {
|
|||
"-lmingw32".to_string(),
|
||||
"-lgcc".to_string(), // alas, mingw* libraries above depend on libgcc
|
||||
"-lmsvcrt".to_string(),
|
||||
"-lmsvcrt".to_string(), // mingw is insane...?
|
||||
"-luser32".to_string(),
|
||||
"-lkernel32".to_string(),
|
||||
]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue