[libcxx-commits] [PATCH] D155555: [libcxx] Link to fewer MSVC CRT libraries

Martin Storsjö via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Jul 19 01:32:32 PDT 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rG7506cb3c926a: [libcxx] Link to fewer MSVC CRT libraries (authored by mstorsjo).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D155555/new/

https://reviews.llvm.org/D155555

Files:
  libcxx/CMakeLists.txt


Index: libcxx/CMakeLists.txt
===================================================================
--- libcxx/CMakeLists.txt
+++ libcxx/CMakeLists.txt
@@ -688,8 +688,6 @@
       set(LIB_SUFFIX "")
     endif()
 
-    target_link_libraries(${target} PRIVATE ucrt${LIB_SUFFIX}) # Universal C runtime
-    target_link_libraries(${target} PRIVATE vcruntime${LIB_SUFFIX}) # C++ runtime
     target_link_libraries(${target} PRIVATE msvcrt${LIB_SUFFIX}) # C runtime startup files
     target_link_libraries(${target} PRIVATE msvcprt${LIB_SUFFIX}) # C++ standard library. Required for exception_ptr internals.
     # Required for standards-complaint wide character formatting functions


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155555.541886.patch
Type: text/x-patch
Size: 676 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230719/082d4879/attachment-0001.bin>


More information about the libcxx-commits mailing list