From 614d2432691fbe94130d0d722f506125bd378529 Mon Sep 17 00:00:00 2001 From: Max Howell Date: Sat, 16 Jan 2010 18:53:47 +0000 Subject: [PATCH] There's not enough payback for stripping libraries It causes lots of bugs, for the sake of what is often just a few kilobytes. --- Library/Homebrew/brew.h.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/brew.h.rb b/Library/Homebrew/brew.h.rb index a10dc88c31..51221a23f5 100644 --- a/Library/Homebrew/brew.h.rb +++ b/Library/Homebrew/brew.h.rb @@ -472,7 +472,10 @@ private perms=0444 case `file -h '#{path}'` when /Mach-O dynamically linked shared library/ - strip path, '-SxX' + # Stripping libraries is causing no end of trouble + # Lets just give up, and try to do it manually in instances where it + # makes sense + #strip path, '-SxX' when /Mach-O [^ ]* ?executable/ strip path perms=0555