summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ScriptInterpreter/Python
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2019-03-29 17:47:26 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2019-03-29 17:47:26 +0000
commit4d63d8cf75148e8316712c9d5dd0d1d192aa7b27 (patch)
treea6b116aebf72dc284392302f637bdbc06bf6a370 /lldb/source/Plugins/ScriptInterpreter/Python
parentdee8a143896e2bbccccdc7662a029bab9379dec9 (diff)
downloadbcm5719-llvm-4d63d8cf75148e8316712c9d5dd0d1d192aa7b27.tar.gz
bcm5719-llvm-4d63d8cf75148e8316712c9d5dd0d1d192aa7b27.zip
[CMake] Move link dependencies where they are used.
The utility library shouldn't depend on curses, libedit or python. Move curses to core, libedit to host and python to the python plugin. Differential revision: https://reviews.llvm.org/D59970 llvm-svn: 357287
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
-rw-r--r--lldb/source/Plugins/ScriptInterpreter/Python/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/CMakeLists.txt b/lldb/source/Plugins/ScriptInterpreter/Python/CMakeLists.txt
index 56eacc941d6..f7360d72889 100644
--- a/lldb/source/Plugins/ScriptInterpreter/Python/CMakeLists.txt
+++ b/lldb/source/Plugins/ScriptInterpreter/Python/CMakeLists.txt
@@ -23,6 +23,8 @@ add_lldb_library(lldbPluginScriptInterpreterPython PLUGIN
lldbHost
lldbInterpreter
lldbTarget
+ ${PYTHON_LIBRARY}
+
LINK_COMPONENTS
Support
)
OpenPOWER on IntegriCloud