This is an archive of the discontinued LLVM Phabricator instance.

[MinGW] Treat any -lucrt* as replacing -lmsvcrt
ClosedPublic

Authored by mstorsjo on Jul 7 2018, 2:52 PM.

Details

Summary

Since SVN r314138, we check if the user has specified any particular alternative msvcrt/ucrt version, and skip the default -lmsvcrt in those cases.

In addition to the existing names checked, we should also treat a plain -lucrt in the same way, mingw-w64 has now added a separate import library named libucrt.a, in addition to libucrtbase.a.

Diff Detail

Repository
rL LLVM

Event Timeline

mstorsjo created this revision.Jul 7 2018, 2:52 PM
smeenai accepted this revision.Jul 9 2018, 2:06 PM

LGTM

This revision is now accepted and ready to land.Jul 9 2018, 2:06 PM
This revision was automatically updated to reflect the committed changes.