mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-03 20:16:05 +00:00

This matches what we link the library itself against (set in CMakeLists.txt). When testing a static library version of libc++, this is needed for essentially every test due to libc++ object files requiring it. Also with libc++ built as a DLL, some tests directly call functions that are provided by msvcprt (such as std::set_new_handler), thus this fixes a number of tests in that configuration too. Differential Revision: https://reviews.llvm.org/D99263