aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMax Howell2010-01-16 18:53:47 +0000
committerMax Howell2010-01-16 19:06:26 +0000
commit2387c7e2365e07b6c8e9b7f9abdecb5985fd4eeb (patch)
treee88784dc018caa5db957c4c1a487a4715c0074ae /Library
parent3e4a7f318ff5b5d244b1913dd1b8e06b9b0de3d9 (diff)
downloadhomebrew-2387c7e2365e07b6c8e9b7f9abdecb5985fd4eeb.tar.bz2
There's not enough payback for stripping libraries
It causes lots of bugs, for the sake of what is often just a few kilobytes.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/brew.h.rb5
1 files changed, 4 insertions, 1 deletions
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