There's not enough payback for stripping libraries

It causes lots of bugs, for the sake of what is often just a few kilobytes.
This commit is contained in:
Max Howell 2010-01-16 18:53:47 +00:00
parent b994905f18
commit 614d243269

View File

@ -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