summaryrefslogtreecommitdiff
path: root/libcxx/src
diff options
context:
space:
mode:
authorLouis Dionne <ldionne.2@gmail.com>2022-10-11 10:05:56 -0400
committerLouis Dionne <ldionne.2@gmail.com>2022-10-11 15:19:59 -0400
commit10378b3db1f16794109af184819be28581f14c3b (patch)
tree645325d43ea471b4f22ada38b6d4977dcf6cbe80 /libcxx/src
parentf8409af354c1398ebf4ece67a315c94ba19714b5 (diff)
downloadllvm-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/src')
-rw-r--r--libcxx/src/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/src/CMakeLists.txt b/libcxx/src/CMakeLists.txt
index 454cc58198a1..9ff2a62e9394 100644
--- a/libcxx/src/CMakeLists.txt
+++ b/libcxx/src/CMakeLists.txt
@@ -300,7 +300,7 @@ if (LIBCXX_ENABLE_STATIC)
PROPERTIES
COMPILE_FLAGS "${LIBCXX_COMPILE_FLAGS}"
LINK_FLAGS "${LIBCXX_LINK_FLAGS}"
- OUTPUT_NAME "c++"
+ OUTPUT_NAME "${LIBCXX_STATIC_OUTPUT_NAME}"
)
cxx_add_common_build_flags(cxx_static)
cxx_set_common_defines(cxx_static)