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
commit614d2432691fbe94130d0d722f506125bd378529 (patch)
treed5c1b29bb173b95bb1fbd44d4030267dfb592fab /Library
parentb994905f18529c0533438cdd4ce2c5025babafb4 (diff)
downloadbrew-614d2432691fbe94130d0d722f506125bd378529.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