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

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Wed Dec 10 09:52:51 PST 2025


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

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.

>From e19c67b9c1f26bdbb0413e53d63d0ace4e407981 Mon Sep 17 00:00:00 2001
From: Louis Dionne <ldionne.2 at gmail.com>
Date: Wed, 10 Dec 2025 12:50:26 -0500
Subject: [PATCH] [libc++] Fix incorrect install component for the libc++
 linker script

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.
---
 libcxx/src/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)



More information about the libcxx-commits mailing list