[Lldb-commits] [PATCH] D67942: Install python dll to bin

Haibo Huang via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Sep 23 17:43:27 PDT 2019


hhb created this revision.
hhb added a reviewer: mstorsjo.
Herald added subscribers: lldb-commits, mgorny.
Herald added a project: LLDB.

Not sure whether this is a feature or bug...


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D67942

Files:
  lldb/CMakeLists.txt


Index: lldb/CMakeLists.txt
===================================================================
--- lldb/CMakeLists.txt
+++ lldb/CMakeLists.txt
@@ -230,6 +230,8 @@
             POST_BUILD
             COMMAND ${CMAKE_COMMAND} -E copy ${PYTHON_DLL_NATIVE_PATH} ${LLDB_BIN_DIR} VERBATIM
             COMMENT "Copying Python DLL to LLDB binaries directory.")
+        get_filename_component(PYTHON_DLL_NAME ${PYTHON_DLL} NAME)
+        install(FILES ${LLDB_BIN_DIR}/${PYTHON_DLL_NAME} DESTINATION bin)
     endif ()
 endif ()
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67942.221449.patch
Type: text/x-patch
Size: 524 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190924/a7091816/attachment.bin>


More information about the lldb-commits mailing list