From a317a1b7cfcf4c3a698faa19033d1942b9f8ec8f Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Wed, 14 Oct 2015 21:20:28 +0000 Subject: [PATCH] Use correct CMake variable for the libname git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@250329 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index a3b50a7c..d02b8c5f 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -138,7 +138,7 @@ set_target_properties(cxx if (LIBCXX_ENABLE_ABI_LINKER_SCRIPT) # Get the name of the ABI library and handle the case where CXXABI_LIBNAME # is a target name and not a library. Ex cxxabi_shared. - set(SCRIPT_ABI_LIBNAME "${CXXABI_LIBNAME}") + set(SCRIPT_ABI_LIBNAME "${LIBCXX_CXX_ABI_LIBRARY}") if (SCRIPT_ABI_LIBNAME STREQUAL "cxxabi_shared") set("${SCRIPT_ABI_LIBNAME}" "c++abi") endif()