Skip to content

Commit 70c7d85

Browse files
committed
Removed back deployment rpaths
1 parent b6bd50a commit 70c7d85

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

Utilities/bootstrap

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -583,14 +583,7 @@ def add_rpath_for_cmake_build(args, rpath):
583583

584584
def get_swift_backdeploy_library_paths(args):
585585
if platform.system() == 'Darwin':
586-
# Need to include backwards compatibility libraries for Concurrency
587-
if args.release:
588-
# For release builds, we need a relative path that finds the compatibility libs in the current toolchain.
589-
backdeploy_path = '@executable_path/../lib/swift-5.5/macosx'
590-
else:
591-
# FIXME: Would be nice if we could get this from `swiftc -print-target-info`
592-
backdeploy_path = args.target_info["paths"]["runtimeLibraryPaths"][0] + '/../../swift-5.5/macosx'
593-
return ['/usr/lib/swift', backdeploy_path]
586+
return ['/usr/lib/swift']
594587
else:
595588
return []
596589

0 commit comments

Comments
 (0)