File tree 3 files changed +3
-3
lines changed
tools/SourceKit/cmake/modules
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)
461
461
INSTALL_NAME_DIR "@rpath" )
462
462
elseif (SWIFT_HOST_VARIANT_SDK STREQUAL LINUX)
463
463
set_target_properties (${name} PROPERTIES
464
- INSTALL_RPATH "$ORIGIN:/usr/lib/swift/linux " )
464
+ INSTALL_RPATH "$ORIGIN" )
465
465
elseif (SWIFT_HOST_VARIANT_SDK STREQUAL CYGWIN )
466
466
set_target_properties (${name} PROPERTIES
467
467
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)
998
998
elseif ("${SWIFTLIB_SINGLE_SDK} " STREQUAL "LINUX" )
999
999
set_target_properties ("${target} "
1000
1000
PROPERTIES
1001
- INSTALL_RPATH "$ORIGIN:/usr/lib/swift/linux " )
1001
+ INSTALL_RPATH "$ORIGIN" )
1002
1002
elseif ("${SWIFTLIB_SINGLE_SDK} " STREQUAL "CYGWIN" )
1003
1003
set_target_properties ("${target} "
1004
1004
PROPERTIES
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ macro(add_sourcekit_library name)
99
99
if ("${CMAKE_SYSTEM_NAME} " STREQUAL "Linux" )
100
100
if (SOURCEKITLIB_SHARED)
101
101
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" )
103
103
endif ()
104
104
endif ()
105
105
You can’t perform that action at this time.
0 commit comments