Add -lmingwex
second time in mingw_libs
Upcoming mingw-w64 releases will contain small math functions refactor which moved implementation around. As a result functions like `lgamma` now depend on libraries in this order: `libmingwex.a` -> `libmsvcrt.a` -> `libmingwex.a`. Fixes #124221
This commit is contained in:
parent
aa31bad26b
commit
eac0b3a1d1
1 changed files with 3 additions and 0 deletions
|
@ -40,6 +40,9 @@ pub fn opts() -> TargetOptions {
|
|||
//
|
||||
// See https://github.com/rust-lang/rust/pull/47483 for some more details.
|
||||
"-lmsvcrt",
|
||||
// Math functions missing in MSVCRT (they are present in UCRT) require
|
||||
// this dependency cycle: `libmingwex.a` -> `libmsvcrt.a` -> `libmingwex.a`.
|
||||
"-lmingwex",
|
||||
"-luser32",
|
||||
"-lkernel32",
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue