[libc++] Fix linking libc++abi in standalone builds
authorRaul Tambre <raul@tambre.ee>
Thu, 2 Apr 2020 13:34:02 +0000 (09:34 -0400)
committerLouis Dionne <ldionne@apple.com>
Thu, 2 Apr 2020 13:36:33 +0000 (09:36 -0400)
commitbcaa01752f5e45b9d1647aef16d74c748192f8a5
tree1897839b62986e18786686ed5bebac9119b03312
parent1008435f3d47ac0f49690c52cb8ae3af6e3b9c4b
[libc++] Fix linking libc++abi in standalone builds

In standalone builds the cxxabi_shared and cxxabi_static targets don't exist.
We need to link against the library itself.

Differential Revision: https://reviews.llvm.org/D77294
libcxx/cmake/Modules/HandleLibCXXABI.cmake