Skip to content

Commit 1e93fb3

Browse files
committed
[CMake] Add rpath for the installed location of lib_InternalSwiftScan.
1 parent 4bacf6d commit 1e93fb3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tools/libSwiftScan/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ if(SWIFT_SWIFT_PARSER)
3434
set_property(
3535
TARGET libSwiftScan
3636
APPEND PROPERTY INSTALL_RPATH "@loader_path/swift/host")
37+
set_property(
38+
TARGET libSwiftScan
39+
APPEND PROPERTY INSTALL_RPATH "@loader_path/../host")
3740
endif()
3841

3942
add_llvm_symbol_exports(libSwiftScan ${LLVM_EXPORTED_SYMBOL_FILE})

0 commit comments

Comments
 (0)