Skip to content

Commit

Permalink
Fix CMake build - add readline dependency on ${PYTHON_LIBRARY}.
Browse files Browse the repository at this point in the history
llvm-svn: 226933
  • Loading branch information
ovyalov committed Jan 23, 2015
1 parent bc2f47a commit 7ed92fb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lldb/scripts/Python/modules/readline/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 7ed92fb

Please sign in to comment.