llvm-project/lldb/cmake/modules
Pavel Labath 10ef313678 [cmake] Fix standalone+LLVM_LINK_LLVM_DYLIB builds (pr36687)
Summary:
To make this build work, I needed to add detection code for the pthread
library. This is necessary, because we have direct calls to these
libraries (instead of going through llvm) and in the standalone build we
cannot rely on llvm to detect these for us. In a standalone non-dylib
build this was accidentaly working because these libraries were pulled
in as an interface dependency of the .a files, but in a dylib build
these are no longer part of the link interface, and so we need to add
them explicitly.

Reviewers: krytarowski, zturner

Subscribers: lldb-commits, mgorny

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

llvm-svn: 327490
2018-03-14 10:08:21 +00:00
..
AddLLDB.cmake [lldb] Set component when invoking add_llvm_install_targets 2017-12-13 01:14:27 +00:00
EmbedAppleVersion.cmake Fixing the Xcode build that I broke in r286479 2016-11-10 21:30:16 +00:00
LLDBConfig.cmake [cmake] Fix standalone+LLVM_LINK_LLVM_DYLIB builds (pr36687) 2018-03-14 10:08:21 +00:00
LLDBGenerateConfig.cmake Check availability of accept4 in C++ instad of C code. 2017-09-16 02:58:49 +00:00
LLDBStandalone.cmake LLDBStandalone.cmake: set path to llvm-lit inside of llvm build dir 2018-03-05 23:57:46 +00:00