Skip to content

Commit 27956e6

Browse files
authored
Merge pull request #468 from kateinoigakukun/katei/skip-removing-toolchain-rpath
Remove deleting toolchain rpath step
2 parents 4e01bde + 707608c commit 27956e6

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

Utilities/build-script-helper.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,6 @@ def install_binary(exe, source_dir, install_dir, toolchain):
8282
if platform.system() == 'Darwin':
8383
result_path = os.path.join(install_dir, exe)
8484
stdlib_rpath = os.path.join(toolchain, 'lib', 'swift', 'macosx')
85-
delete_rpath(stdlib_rpath, result_path)
86-
87-
def delete_rpath(rpath, binary):
88-
cmd = ["install_name_tool", "-delete_rpath", rpath, binary]
89-
print(' '.join(cmd))
90-
subprocess.check_call(cmd)
91-
9285

9386
def handle_invocation(swift_exec, args):
9487
swiftpm_args = get_swiftpm_options(args)

0 commit comments

Comments
 (0)