From 2387c7e2365e07b6c8e9b7f9abdecb5985fd4eeb Mon Sep 17 00:00:00 2001 From: Max Howell Date: Sat, 16 Jan 2010 18:53:47 +0000 Subject: 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(-) (limited to 'Library') diff --git a/Library/Homebrew/brew.h.rb b/Library/Homebrew/brew.h.rb index a10dc88c3..51221a23f 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 -- cgit v1.2.3