[PATCH] D49502: [CMake] Support statically linking dependencies only to shared or static library

Petr Hosek via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 18 12:03:54 PDT 2018


phosek added a comment.

This came up in Fuchsia. Clang driver, add `-lc++` as a dependency. This is sufficient for shared libc++, but for static user has to manually pass `-lc++abi -lunwind`, so for static libc++ we would actually like to combine both libc++abi and libunwind into a single archive.


Repository:
  rCXX libc++

https://reviews.llvm.org/D49502





More information about the cfe-commits mailing list