diff options
author | Louis Dionne <ldionne.2@gmail.com> | 2022-10-11 10:05:56 -0400 |
---|---|---|
committer | Louis Dionne <ldionne.2@gmail.com> | 2022-10-11 15:19:59 -0400 |
commit | 10378b3db1f16794109af184819be28581f14c3b (patch) | |
tree | 645325d43ea471b4f22ada38b6d4977dcf6cbe80 /libcxx/CMakeLists.txt | |
parent | f8409af354c1398ebf4ece67a315c94ba19714b5 (diff) | |
download | llvm-10378b3db1f16794109af184819be28581f14c3b.tar.gz |
[runtimes] Add the ability to customize the output name of libc++, libc++abi and libunwind
We already had the ability to do that for libc++.dylib, so this only adds
consistency for all the runtime libraries. This should allow working around
difficulties on AIX as described in https://llvm.org/D134221.
Differential Revision: https://reviews.llvm.org/D135669
Diffstat (limited to 'libcxx/CMakeLists.txt')
-rw-r--r-- | libcxx/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/CMakeLists.txt b/libcxx/CMakeLists.txt index d1acb2c137a7..f08ca950735f 100644 --- a/libcxx/CMakeLists.txt +++ b/libcxx/CMakeLists.txt @@ -407,8 +407,8 @@ set(LIBCXX_INSTALL_INCLUDE_DIR "${CMAKE_INSTALL_INCLUDEDIR}/c++/v1" CACHE PATH set(LIBCXX_INSTALL_RUNTIME_DIR "${CMAKE_INSTALL_BINDIR}" CACHE PATH "Path where built libc++ runtime libraries should be installed.") -set(LIBCXX_SHARED_OUTPUT_NAME "c++" CACHE STRING - "Output name for the shared libc++ runtime library.") +set(LIBCXX_SHARED_OUTPUT_NAME "c++" CACHE STRING "Output name for the shared libc++ runtime library.") +set(LIBCXX_STATIC_OUTPUT_NAME "c++" CACHE STRING "Output name for the static libc++ runtime library.") if(LLVM_ENABLE_PER_TARGET_RUNTIME_DIR AND NOT APPLE) set(LIBCXX_LIBRARY_DIR ${LLVM_LIBRARY_OUTPUT_INTDIR}/${LLVM_DEFAULT_TARGET_TRIPLE}) |