From 7f4f17de6328aadba9849b71bd02af97ee3c7f46 Mon Sep 17 00:00:00 2001 From: Nadia Holmquist Pedersen Date: Mon, 16 May 2022 18:09:39 +0200 Subject: [PATCH] macOS: fix bundling on Monterey The behavior of flags for strip changed exactly like the man page warned it would. Oops. --- tools/mac-libs.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/mac-libs.rb b/tools/mac-libs.rb index 4d57c610..64b02b95 100755 --- a/tools/mac-libs.rb +++ b/tools/mac-libs.rb @@ -97,7 +97,7 @@ def install_name_tool(exec, action, path1, path2 = nil) end def strip(lib) - out, _ = Open3.capture2("strip", "-SNTx", lib) + out, _ = Open3.capture2("strip", "-Sx", lib) print out end