Skip to content

Commit

Permalink
make extra extra extra EXTRA sure the goddamn libraries are writable
Browse files Browse the repository at this point in the history
  • Loading branch information
nadiaholmquist committed Sep 1, 2021
1 parent 75b6ea3 commit aed92e5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/mac-libs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ def fixup_libs(prog, orig_path)
throw "fixup_libs: #{prog} doesn't exist" unless File.exist? prog

libs = get_load_libs(prog).map { |it| expand_load_path(orig_path, it) }.select { |it| not system_lib? it[0] }

FileUtils.chmod("u+w", prog)
strip prog

libs.each do |lib|
Expand Down

0 comments on commit aed92e5

Please sign in to comment.