File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
tools/SourceKit/cmake/modules Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -461,7 +461,7 @@ function(add_swift_host_library name)
461461 INSTALL_NAME_DIR "@rpath" )
462462 elseif (SWIFT_HOST_VARIANT_SDK STREQUAL LINUX)
463463 set_target_properties (${name} PROPERTIES
464- INSTALL_RPATH "$ORIGIN:/usr/lib/swift/linux " )
464+ INSTALL_RPATH "$ORIGIN" )
465465 elseif (SWIFT_HOST_VARIANT_SDK STREQUAL CYGWIN )
466466 set_target_properties (${name} PROPERTIES
467467 INSTALL_RPATH "$ORIGIN:/usr/lib/swift/cygwin" )
Original file line number Diff line number Diff line change @@ -998,7 +998,7 @@ function(_add_swift_target_library_single target name)
998998 elseif ("${SWIFTLIB_SINGLE_SDK} " STREQUAL "LINUX" )
999999 set_target_properties ("${target} "
10001000 PROPERTIES
1001- INSTALL_RPATH "$ORIGIN:/usr/lib/swift/linux " )
1001+ INSTALL_RPATH "$ORIGIN" )
10021002 elseif ("${SWIFTLIB_SINGLE_SDK} " STREQUAL "CYGWIN" )
10031003 set_target_properties ("${target} "
10041004 PROPERTIES
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ macro(add_sourcekit_library name)
9999 if ("${CMAKE_SYSTEM_NAME} " STREQUAL "Linux" )
100100 if (SOURCEKITLIB_SHARED)
101101 set_target_properties (${name} PROPERTIES BUILD_WITH_INSTALL_RPATH TRUE )
102- set_target_properties (${name} PROPERTIES INSTALL_RPATH "$ORIGIN/../lib/swift/linux:/usr/lib/swift/linux " )
102+ set_target_properties (${name} PROPERTIES INSTALL_RPATH "$ORIGIN/../lib/swift/linux" )
103103 endif ()
104104 endif ()
105105
You can’t perform that action at this time.
0 commit comments