aboutsummaryrefslogtreecommitdiff
path: root/tools/mac-libs.rb
diff options
context:
space:
mode:
Diffstat (limited to 'tools/mac-libs.rb')
-rwxr-xr-xtools/mac-libs.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/mac-libs.rb b/tools/mac-libs.rb
index a66b409..534b003 100755
--- a/tools/mac-libs.rb
+++ b/tools/mac-libs.rb
@@ -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|