8000 Merge pull request #64 from nkcsgexi/remove_rpath · swiftlang/swift-syntax@d8131a9 · GitHub
[go: up one dir, main page]

Skip to content

Commit d8131a9

Browse files
authored
Merge pull request #64 from nkcsgexi/remove_rpath
[5.0]build-script: don't abort after delete_rpath fails.
2 parents c3f38db + ac2bf13 commit d8131a9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

build-script.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,8 +309,6 @@ def delete_rpath(rpath, binary):
309309
cmd = ["install_name_tool", "-delete_rpath", rpath, binary]
310310
note("removing RPATH from %s: %s" % (binary, ' '.join(cmd)))
311311
result = subprocess.call(cmd)
312-
if result != 0:
313-
fatal_error("command failed with exit status %d" % (result,))
314312
else:
315313
fatal_error("unable to remove RPATHs on this platform")
316314

0 commit comments

Comments
 (0)
0