[libcxx] r250329 - Use correct CMake variable for the libname

Eric Fiselier via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 14 14:20:29 PDT 2015


Author: ericwf
Date: Wed Oct 14 16:20:28 2015
New Revision: 250329

URL: http://llvm.org/viewvc/llvm-project?rev=250329&view=rev
Log:
Use correct CMake variable for the libname

Modified:
    libcxx/trunk/lib/CMakeLists.txt

Modified: libcxx/trunk/lib/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/lib/CMakeLists.txt?rev=250329&r1=250328&r2=250329&view=diff
==============================================================================
--- libcxx/trunk/lib/CMakeLists.txt (original)
+++ libcxx/trunk/lib/CMakeLists.txt Wed Oct 14 16:20:28 2015
@@ -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()




More information about the cfe-commits mailing list