HomePhabricator

[libc++] Do not cleverly link against libc++abi just because it happens to be…

Description

[libc++] Do not cleverly link against libc++abi just because it happens to be there

Summary:
Otherwise, when libcxxabi is not an enabled project in the monorepo, we
get a link error because we try to link against non-existent cxxabi_shared.

More generally, we shouldn't change the behavior of the build based on
implicit things like whether a file happens to be at a specific path or
not.

Reviewers: EricWF

Subscribers: mgorny, christof, jkorous, dexonsmith, libcxx-commits

Tags: #libc

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

Details

Committed
ldionneJul 5 2019, 10:06 AM
Differential Revision
D63883: [libc++] Do not cleverly link against libc++abi just because it happens to be there
Branches
Unknown
Tags
Unknown