Use correct CMake variable for the libname
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@250329 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d1e2a83a5e
commit
a317a1b7cf
@ -138,7 +138,7 @@ set_target_properties(cxx
|
|||||||
if (LIBCXX_ENABLE_ABI_LINKER_SCRIPT)
|
if (LIBCXX_ENABLE_ABI_LINKER_SCRIPT)
|
||||||
# Get the name of the ABI library and handle the case where CXXABI_LIBNAME
|
# 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.
|
# 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")
|
if (SCRIPT_ABI_LIBNAME STREQUAL "cxxabi_shared")
|
||||||
set("${SCRIPT_ABI_LIBNAME}" "c++abi")
|
set("${SCRIPT_ABI_LIBNAME}" "c++abi")
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user