From aed92e533a96300b18d97e3ae02abfb926d7e6b1 Mon Sep 17 00:00:00 2001 From: Nadia Holmquist Pedersen Date: Wed, 1 Sep 2021 17:05:22 +0200 Subject: [PATCH] make extra extra extra EXTRA sure the goddamn libraries are writable --- tools/mac-libs.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/mac-libs.rb b/tools/mac-libs.rb index a66b4092..534b003a 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|