forked from OSchip/llvm-project
Remove a duplicated block in cmake.
Summary: This is supposed to find the python lib dir and seems like it's just been copied twice by mistake. Reviewers: tfiala Subscribers: lldb-commits Differential Revision: https://reviews.llvm.org/D22891 llvm-svn: 277060
This commit is contained in:
parent
352eac37a1
commit
01f6997aa1
|
@ -159,19 +159,6 @@ if (${get_python_libdir})
|
|||
endif()
|
||||
endif()
|
||||
|
||||
if (${get_python_libdir})
|
||||
# Call a python script to gather the arch-specific libdir for
|
||||
# modules like the lldb module.
|
||||
execute_process(
|
||||
COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/../../scripts/get_relative_lib_dir.py
|
||||
RESULT_VARIABLE get_libdir_status
|
||||
OUTPUT_VARIABLE relative_libdir
|
||||
)
|
||||
if (get_libdir_status EQUAL 0)
|
||||
add_definitions(-DLLDB_PYTHON_RELATIVE_LIBDIR="${relative_libdir}")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
add_lldb_library(lldbHost ${HOST_SOURCES})
|
||||
|
||||
if (CMAKE_SYSTEM_NAME MATCHES "NetBSD")
|
||||
|
|
Loading…
Reference in New Issue