[libcxx-commits] [PATCH] D57872: [CMake] Split linked libraries for shared and static libc++
Petr Hosek via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Feb 6 19:11:41 PST 2019
phosek created this revision.
phosek added reviewers: ldionne, EricWF.
Herald added subscribers: libcxx-commits, christof, mgorny.
Herald added a project: 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. This
also allowed eliminating LIBCXX_INTERFACE_LIBRARIES which is no longer
needed.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D57872
Files:
libcxx/CMakeLists.txt
libcxx/cmake/Modules/HandleLibcxxFlags.cmake
libcxx/lib/CMakeLists.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57872.185692.patch
Type: text/x-patch
Size: 6255 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20190207/9cf2b8c3/attachment-0001.bin>
More information about the libcxx-commits
mailing list