[Lldb-commits] [lldb] r226933 - Fix CMake build - add readline dependency on ${PYTHON_LIBRARY}.
Oleksiy Vyalov
ovyalov at google.com
Fri Jan 23 12:09:14 PST 2015
Author: ovyalov
Date: Fri Jan 23 14:09:14 2015
New Revision: 226933
URL: http://llvm.org/viewvc/llvm-project?rev=226933&view=rev
Log:
Fix CMake build - add readline dependency on ${PYTHON_LIBRARY}.
Modified:
lldb/trunk/scripts/Python/modules/readline/CMakeLists.txt
Modified: lldb/trunk/scripts/Python/modules/readline/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/scripts/Python/modules/readline/CMakeLists.txt?rev=226933&r1=226932&r2=226933&view=diff
==============================================================================
--- lldb/trunk/scripts/Python/modules/readline/CMakeLists.txt (original)
+++ lldb/trunk/scripts/Python/modules/readline/CMakeLists.txt Fri Jan 23 14:09:14 2015
@@ -7,6 +7,8 @@ SET(PYTHON_DIRECTORY python${PYTHON_VERS
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
More information about the lldb-commits
mailing list