[libcxx-commits] [libcxx] [libc++] Fix incorrect install component for the libc++ linker script (PR #171663)

via libcxx-commits libcxx-commits at lists.llvm.org
Wed Dec 10 10:06:42 PST 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libcxx

Author: Louis Dionne (ldionne)

<details>
<summary>Changes</summary>

This patch fixes the name of the install component for the libc++ linker script. Every other target mentions the cxx component, and that one mentions libcxx. I believe that was a typo in 4bd3d16c2d62.

---
Full diff: https://github.com/llvm/llvm-project/pull/171663.diff


1 Files Affected:

- (modified) libcxx/src/CMakeLists.txt (+1-1) 


``````````diff
diff --git a/libcxx/src/CMakeLists.txt b/libcxx/src/CMakeLists.txt
index f59fe0e08fccb..0063c26161313 100644
--- a/libcxx/src/CMakeLists.txt
+++ b/libcxx/src/CMakeLists.txt
@@ -381,7 +381,7 @@ endif()
 if (LIBCXX_ENABLE_SHARED AND LIBCXX_ENABLE_ABI_LINKER_SCRIPT)
   install(FILES "$<TARGET_LINKER_FILE:cxx_shared>"
     DESTINATION ${LIBCXX_INSTALL_LIBRARY_DIR}
-    COMPONENT libcxx)
+    COMPONENT cxx)
 endif()
 
 if (NOT CMAKE_CONFIGURATION_TYPES)

``````````

</details>


https://github.com/llvm/llvm-project/pull/171663


More information about the libcxx-commits mailing list