[Lldb-commits] [lldb] r367956 - [CMake] Remove check for the readline target.

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Mon Aug 5 16:54:14 PDT 2019

Author: jdevlieghere
Date: Mon Aug  5 16:54:13 2019
New Revision: 367956

URL: http://llvm.org/viewvc/llvm-project?rev=367956&view=rev
[CMake] Remove check for the readline target.

This was introduced when we were building a custom readline Python
module on Linux [1]. Now that the readline  target doesn't exist
anymore, it's safe to remove this dependency.

This fixes https://llvm.org/PR25136

[1] https://reviews.llvm.org/D13268


Modified: lldb/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/CMakeLists.txt?rev=367956&r1=367955&r2=367956&view=diff
--- lldb/trunk/CMakeLists.txt (original)
+++ lldb/trunk/CMakeLists.txt Mon Aug  5 16:54:13 2019
@@ -209,10 +209,7 @@ if (NOT LLDB_DISABLE_PYTHON)
         DEPENDS ${lldb_scripts_dir}/lldb.py
         COMMENT "Python script sym-linking LLDB Python API")
-    if (TARGET readline)
-      set(readline_dep readline)
-    endif()
-    add_dependencies(finish_swig swig_wrapper liblldb lldb-argdumper ${readline_dep})
+    add_dependencies(finish_swig swig_wrapper liblldb lldb-argdumper)
     set_target_properties(finish_swig swig_wrapper PROPERTIES FOLDER "lldb misc")
     # Ensure we do the python post-build step when building lldb.

More information about the lldb-commits mailing list