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:
Stephane Sezer 2016-07-28 22:11:54 +00:00
parent 352eac37a1
commit 01f6997aa1
1 changed files with 0 additions and 13 deletions

View File

@ -159,19 +159,6 @@ if (${get_python_libdir})
endif() endif()
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}) add_lldb_library(lldbHost ${HOST_SOURCES})
if (CMAKE_SYSTEM_NAME MATCHES "NetBSD") if (CMAKE_SYSTEM_NAME MATCHES "NetBSD")