HomePhabricator

[CMake] Split linked libraries for shared and static libc++

Description

[CMake] Split linked libraries for shared and static libc++

Some linker libraries are only needed for shared libc++, some only
for static libc++, combining these together in LIBCXX_LIBRARIES and
LIBCXX_INTERFACE_LIBRARIES can introduce unnecessary dependencies.

This changes splits those up into LIBCXX_SHARED_LIBRARIES and
LIBCXX_STATIC_LIBRARIES matching what libc++abi already does.

Differential Revision: https://reviews.llvm.org/D57872

Details

Committed
phosekApr 17 2019, 2:41 PM
Differential Revision
D57872: [CMake] Split linked libraries for shared and static libc++
Branches
Unknown
Tags
Unknown