Skip to content

Commit 4d56be3

Browse files
authored
Merge pull request swiftlang#63 from nkcsgexi/no-fail-remove-rpath
build-script: don't abort after delete_rpath fails.
2 parents a49b99d + 9be7492 commit 4d56be3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

build-script.py

-2
Original file line numberDiff line numberDiff line change
@@ -330,8 +330,6 @@ def delete_rpath(rpath, binary):
330330
cmd = ["install_name_tool", "-delete_rpath", rpath, binary]
331331
note("removing RPATH from %s: %s" % (binary, ' '.join(cmd)))
332332
result = subprocess.call(cmd)
333-
if result != 0:
334-
fatal_error("command failed with exit status %d" % (result,))
335333
else:
336334
fatal_error("unable to remove RPATHs on this platform")
337335

0 commit comments

Comments
 (0)