Add "-lmsvcrt" twice to get rustc to build with the latest mingw64

This commit is contained in:
Segev Finer 2018-01-16 07:27:04 +02:00
parent 80e2e67f4c
commit bfde33f2fb

View File

@ -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(),
]);