File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -134,11 +134,20 @@ if(LLDB_ENABLE_PYTHON AND (BUILD_SHARED_LIBS OR LLVM_LINK_LLVM_DYLIB) AND UNIX A
134
134
endif ()
135
135
136
136
if (Python3_RPATH )
137
- set_property (TARGET liblldb APPEND PROPERTY INSTALL_RPATH "${Python3_RPATH} " )
138
- set_property (TARGET liblldb APPEND PROPERTY BUILD_RPATH "${Python3_RPATH} " )
137
+ lldb_setup_rpaths (liblldb
138
+ BUILD_RPATH
139
+ "${Python3_RPATH} "
140
+ INSTALL_RPATH
141
+ "@loader_path/../../../../../../../../Library/Frameworks/"
142
+ "@loader_path/../../../../../Developer/Library/Frameworks/"
143
+ "@loader_path/../../../../Developer/Library/Frameworks/"
144
+ "@loader_path/../../../../Frameworks"
145
+ "@loader_path/../../../"
146
+ "/Library/Developer/CommandLineTools/Library/Frameworks"
147
+ "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/"
148
+ )
139
149
endif ()
140
150
141
-
142
151
if (LLDB_ENABLE_PYTHON )
143
152
add_dependencies (liblldb swig_wrapper_python )
144
153
You can’t perform that action at this time.
0 commit comments