[Lldb-commits] [PATCH] D22891: Remove a duplicated block in cmake.

Stephane Sezer via lldb-commits lldb-commits at lists.llvm.org
Thu Jul 28 15:25:37 PDT 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL277060: Remove a duplicated block in cmake. (authored by sas).

Changed prior to commit:
  https://reviews.llvm.org/D22891?vs=65839&id=66038#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D22891

Files:
  lldb/trunk/source/Host/CMakeLists.txt

Index: lldb/trunk/source/Host/CMakeLists.txt
===================================================================
--- lldb/trunk/source/Host/CMakeLists.txt
+++ lldb/trunk/source/Host/CMakeLists.txt
@@ -159,19 +159,6 @@
   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")


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22891.66038.patch
Type: text/x-patch
Size: 786 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160728/814bef95/attachment.bin>


More information about the lldb-commits mailing list