summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lldb/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/lldb/CMakeLists.txt b/lldb/CMakeLists.txt
index 55fdf770001..e58a0c7cd41 100644
--- a/lldb/CMakeLists.txt
+++ b/lldb/CMakeLists.txt
@@ -24,6 +24,12 @@ if (NOT LLDB_DISABLE_PYTHON)
# We depend on liblldb being built before we can do this step.
add_dependencies(finish_swig liblldb argdumper)
+ # If we build the readline module, we depend on that happening
+ # first.
+ if (TARGET readline)
+ add_dependencies(finish_swig readline)
+ endif()
+
# Ensure we do the python post-build step when building lldb.
add_dependencies(lldb finish_swig)
OpenPOWER on IntegriCloud