HomePhabricator

[libcxx] Link target `cxx_external_threads` to `cxx-headers` for…

Authored by Nicu on Sep 1 2020, 4:41 AM.

Description

[libcxx] Link target cxx_external_threads to cxx-headers for BUILD_EXTERNAL_THREAD_LIBRARY

Fix compilation of libcxx when using -DLIBCXX_BUILD_EXTERNAL_THREAD_LIBRARY. Target cxx_external_threads gets linked to cxx-headers to include all needed headers and flags.

Reviewed By: #libc, ldionne

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

Details