[Lldb-commits] [lldb] 8ae21fb - [lldb/CMake] Set both the BUILD and INSTALL RPATH on macOS
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Thu May 28 16:04:42 PDT 2020
Author: Jonas Devlieghere
Date: 2020-05-28T16:04:35-07:00
New Revision: 8ae21fb8d2a2a5c55070b82dd57b345dd4716f56
URL: https://github.com/llvm/llvm-project/commit/8ae21fb8d2a2a5c55070b82dd57b345dd4716f56
DIFF: https://github.com/llvm/llvm-project/commit/8ae21fb8d2a2a5c55070b82dd57b345dd4716f56.diff
LOG: [lldb/CMake] Set both the BUILD and INSTALL RPATH on macOS
This is necessary when building the framework.
Added:
Modified:
lldb/source/API/CMakeLists.txt
Removed:
################################################################################
diff --git a/lldb/source/API/CMakeLists.txt b/lldb/source/API/CMakeLists.txt
index b0ada3ef8145..ce6a7ec830fc 100644
--- a/lldb/source/API/CMakeLists.txt
+++ b/lldb/source/API/CMakeLists.txt
@@ -123,6 +123,7 @@ endif()
if(PYTHON_RPATH)
set_property(TARGET liblldb APPEND PROPERTY INSTALL_RPATH "${PYTHON_RPATH}")
+ set_property(TARGET liblldb APPEND PROPERTY BUILD_RPATH "${PYTHON_RPATH}")
endif()
if (MSVC)
More information about the lldb-commits
mailing list