[Lldb-commits] [lldb] r357431 - [CMake] Only the Python scirpt interpreter should link against Python.

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Mon Apr 1 15:03:05 PDT 2019


Author: jdevlieghere
Date: Mon Apr  1 15:03:04 2019
New Revision: 357431

URL: http://llvm.org/viewvc/llvm-project?rev=357431&view=rev
Log:
[CMake] Only the Python scirpt interpreter should link against Python.

This patch removes spurious links against Python.

Modified:
    lldb/trunk/unittests/Interpreter/CMakeLists.txt
    lldb/trunk/unittests/ScriptInterpreter/Python/CMakeLists.txt

Modified: lldb/trunk/unittests/Interpreter/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/unittests/Interpreter/CMakeLists.txt?rev=357431&r1=357430&r2=357431&view=diff
==============================================================================
--- lldb/trunk/unittests/Interpreter/CMakeLists.txt (original)
+++ lldb/trunk/unittests/Interpreter/CMakeLists.txt Mon Apr  1 15:03:04 2019
@@ -6,8 +6,3 @@ add_lldb_unittest(InterpreterTests
     lldbInterpreter
     lldbUtilityHelpers
   )
-
-target_link_libraries(InterpreterTests
-  PRIVATE
-  ${PYTHON_LIBRARY}
-  )

Modified: lldb/trunk/unittests/ScriptInterpreter/Python/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/unittests/ScriptInterpreter/Python/CMakeLists.txt?rev=357431&r1=357430&r2=357431&view=diff
==============================================================================
--- lldb/trunk/unittests/ScriptInterpreter/Python/CMakeLists.txt (original)
+++ lldb/trunk/unittests/ScriptInterpreter/Python/CMakeLists.txt Mon Apr  1 15:03:04 2019
@@ -6,8 +6,6 @@ add_lldb_unittest(ScriptInterpreterPytho
   LINK_LIBS
     lldbHost
     lldbPluginScriptInterpreterPython
-    ${PYTHON_LIBRARY}
   LINK_COMPONENTS
     Support
-  )
-  
\ No newline at end of file
+  )
\ No newline at end of file




More information about the lldb-commits mailing list