diff options
author | Oleksiy Vyalov <ovyalov@google.com> | 2015-01-23 20:09:14 +0000 |
---|---|---|
committer | Oleksiy Vyalov <ovyalov@google.com> | 2015-01-23 20:09:14 +0000 |
commit | 7ed92fbbe84f0067a5f239b1e8376dfcf6bfdc98 (patch) | |
tree | 0993991333f82defdd6b901b0fcbbc50ee685a28 /lldb/scripts/Python | |
parent | bc2f47a76eb1471f0795b4e6d29e83836d2aff28 (diff) | |
download | bcm5719-llvm-7ed92fbbe84f0067a5f239b1e8376dfcf6bfdc98.tar.gz bcm5719-llvm-7ed92fbbe84f0067a5f239b1e8376dfcf6bfdc98.zip |
Fix CMake build - add readline dependency on ${PYTHON_LIBRARY}.
llvm-svn: 226933
Diffstat (limited to 'lldb/scripts/Python')
-rw-r--r-- | lldb/scripts/Python/modules/readline/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/scripts/Python/modules/readline/CMakeLists.txt b/lldb/scripts/Python/modules/readline/CMakeLists.txt index 2e1afa1f73b..11089c6230f 100644 --- a/lldb/scripts/Python/modules/readline/CMakeLists.txt +++ b/lldb/scripts/Python/modules/readline/CMakeLists.txt @@ -7,6 +7,8 @@ SET(PYTHON_DIRECTORY python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site- include_directories(${PYTHON_INCLUDE_DIR}) add_library(readline SHARED readline.cpp) +target_link_libraries(readline ${PYTHON_LIBRARY}) + # FIXME: the LIBRARY_OUTPUT_PATH seems to be ignored - this is not a # functional issue for the build dir, though, since the shared lib dir # for the build is in the python shared library load path, and thus |