2021-04-14 06:17:17 +08:00
|
|
|
libcxx/src/CMakeLists.txt | 4 +---
|
|
|
|
1 file changed, 1 insertion(+), 3 deletions(-)
|
|
|
|
|
|
|
|
diff --git a/libcxx/src/CMakeLists.txt b/libcxx/src/CMakeLists.txt
|
2021-06-30 07:08:28 +08:00
|
|
|
index 9965104cb5b2..0d2a33c6b33c 100644
|
2021-04-14 06:17:17 +08:00
|
|
|
--- a/libcxx/src/CMakeLists.txt
|
|
|
|
+++ b/libcxx/src/CMakeLists.txt
|
2021-06-30 07:08:28 +08:00
|
|
|
@@ -372,9 +372,7 @@ endif()
|
|
|
|
# NOTE: This install command must go after the cxx install command otherwise
|
|
|
|
# it will not be executed after the library symlinks are installed.
|
|
|
|
if (LIBCXX_ENABLE_SHARED AND LIBCXX_ENABLE_ABI_LINKER_SCRIPT)
|
|
|
|
- # Replace the libc++ filename with $<TARGET_LINKER_FILE:cxx>
|
|
|
|
- # after we required CMake 3.0.
|
|
|
|
- install(FILES "${LIBCXX_LIBRARY_DIR}/libc++${CMAKE_SHARED_LIBRARY_SUFFIX}"
|
|
|
|
+ install(FILES "$<TARGET_LINKER_FILE:cxx_shared>"
|
|
|
|
DESTINATION ${LIBCXX_INSTALL_PREFIX}${LIBCXX_INSTALL_LIBRARY_DIR}
|
|
|
|
COMPONENT libcxx)
|
|
|
|
endif()
|