forked from OSchip/llvm-project
Use correct CMake variable for the libname
llvm-svn: 250329
This commit is contained in:
parent
80edbbbdf8
commit
27dec39996
|
@ -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…
Reference in New Issue