summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core
diff options
context:
space:
mode:
authorMichal Gorny <mgorny@gentoo.org>2019-10-04 12:03:03 +0000
committerMichal Gorny <mgorny@gentoo.org>2019-10-04 12:03:03 +0000
commit9735739be7014564ff61d25b682af77b5cee2290 (patch)
tree1719395977358326b4716d4cc9a2b423b730f5dd /lldb/source/Core
parent576ea7d1a948b670e5e2730875bdf7382f566924 (diff)
downloadbcm5719-llvm-9735739be7014564ff61d25b682af77b5cee2290.tar.gz
bcm5719-llvm-9735739be7014564ff61d25b682af77b5cee2290.zip
[lldb] [cmake] Support linking against clang-cpp dylib
Link against clang-cpp dylib rather than split libs when CLANG_LINK_CLANG_DYLIB is enabled. Differential Revision: https://reviews.llvm.org/D68456 llvm-svn: 373734
Diffstat (limited to 'lldb/source/Core')
-rw-r--r--lldb/source/Core/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/lldb/source/Core/CMakeLists.txt b/lldb/source/Core/CMakeLists.txt
index e45b5e7c84a..f3ce87ae4f2 100644
--- a/lldb/source/Core/CMakeLists.txt
+++ b/lldb/source/Core/CMakeLists.txt
@@ -69,7 +69,6 @@ add_lldb_library(lldbCore
clang-tablegen-targets
LINK_LIBS
- clangDriver
lldbBreakpoint
lldbDataFormatters
lldbExpression
@@ -82,6 +81,9 @@ add_lldb_library(lldbCore
lldbPluginObjCLanguage
${LLDB_CURSES_LIBS}
+ CLANG_LIBS
+ clangDriver
+
LINK_COMPONENTS
Support
Demangle
OpenPOWER on IntegriCloud