Reoder order in which MinGW libs are linked
This commit is contained in:
parent
feb3536eba
commit
e237e0280b
@ -20,9 +20,9 @@ pub fn opts() -> TargetOptions {
|
||||
late_link_args.insert(
|
||||
LinkerFlavor::Gcc,
|
||||
vec![
|
||||
"-lmsvcrt".to_string(),
|
||||
"-lmingwex".to_string(),
|
||||
"-lmingw32".to_string(),
|
||||
"-lmsvcrt".to_string(),
|
||||
// mingw's msvcrt is a weird hybrid import library and static library.
|
||||
// And it seems that the linker fails to use import symbols from msvcrt
|
||||
// that are required from functions in msvcrt in certain cases. For example
|
||||
|
Loading…
Reference in New Issue
Block a user