17 Jun
2010
17 Jun
'10
12:44 p.m.
Signed-off-by: Andres P <aepd87@gmail.com> --- scripts/makepkg.sh.in | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 28c7879..0bfb607 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -865,7 +865,7 @@ tidy_install() { done fi - if [[ $(check_option strip) = y && -n ${STRIP_DIRS[*]} ]]; then + if [[ $(check_option strip) = "y" && $arch != "any" && $STRIP_DIRS ]]; then msg2 "$(gettext "Stripping unneeded symbols from binaries and libraries...")" # make sure library stripping variables are defined to prevent excess stripping [[ -z ${STRIP_SHARED+x} ]] && STRIP_SHARED="-S" -- 1.7.1