index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Cedric Staniewski <cedric@gmx.ca> | 2009-12-21 20:26:28 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-03-14 18:34:16 -0500 |
commit | 5fe41df8a9eaac288433a54e216f96b1fe729c01 (patch) | |
tree | 489613b7b44d05b6a10190a134b19858192e2732 /scripts | |
parent | 22331fdadb1b055030a6f68e2bb9eed589187a10 (diff) |
-rw-r--r-- | scripts/makepkg.sh.in | 8 |
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 84509f8b..0fe06513 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -841,18 +841,18 @@ tidy_install() { fi if [[ $(check_option strip) = y && -n ${STRIP_DIRS[*]} ]]; then - msg2 "$(gettext "Stripping debugging symbols from binaries and libraries...")" + msg2 "$(gettext "Stripping unneeded symbols from binaries and libraries...")" local binary find ${STRIP_DIRS[@]} -type f -writable 2>/dev/null | while read binary ; do case "$(file -biz "$binary")" in *compressed-encoding*) # Skip compressed binaries ;; *application/x-sharedlib*) # Libraries (.so) - /usr/bin/strip -S "$binary";; + /usr/bin/strip $STRIP_SHARED "$binary";; *application/x-archive*) # Libraries (.a) - /usr/bin/strip -S "$binary";; + /usr/bin/strip $STRIP_STATIC "$binary";; *application/x-executable*) # Binaries - /usr/bin/strip "$binary";; + /usr/bin/strip $STRIP_BINARIES "$binary";; esac done fi |