summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2018-06-19 14:23:31 +0000
committerPavel Labath <labath@google.com>2018-06-19 14:23:31 +0000
commit8779968805593a066a0fcbaee2ffbaadaed33ccf (patch)
tree9d83c5e0a2e0e3d3ed1b1feff32fc2734811c5b0
parentf9e56e598216142d23b7cba1261799bd8b14964c (diff)
downloadbcm5719-llvm-8779968805593a066a0fcbaee2ffbaadaed33ccf.tar.gz
bcm5719-llvm-8779968805593a066a0fcbaee2ffbaadaed33ccf.zip
Attempt to fix windows build broken by r334968
The issue was that there was no dependency from lldb-suite target to liblldb in the no-framework scenario. This caused the finish-swig target to be executed prematurely and fail (because it cannot copy liblldb to the python folder). On other platforms this did not matter because there just creates a symlink. The extra lldb-suite -> liblldb edge should fix this. Technically, I could add this just to the !framework case as the framework target will take care of the transitive dep, but it seemed more clear to make the dep unconditional. llvm-svn: 335047
-rw-r--r--lldb/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/CMakeLists.txt b/lldb/CMakeLists.txt
index 0047f772158..a5e0cae83ea 100644
--- a/lldb/CMakeLists.txt
+++ b/lldb/CMakeLists.txt
@@ -152,6 +152,7 @@ if (LLDB_BUILD_FRAMEWORK)
include(LLDBFramework)
add_dependencies(lldb-suite lldb-framework)
endif()
+add_dependencies(lldb-suite liblldb)
if (NOT LLDB_DISABLE_PYTHON)
# Add a Post-Build Event to copy over Python files and create the symlink
OpenPOWER on IntegriCloud