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
This commit is contained in:
Pavel Labath
2018-06-19 14:23:31 +00:00
parent f9e56e5982
commit 8779968805

View File

@@ -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