[pacman-dev] [PATCH 03/11] makepkg: do not attempt to strip arch agnostic packages
Andres P
aepd87 at gmail.com
Thu Jun 17 08:44:43 EDT 2010
Signed-off-by: Andres P <aepd87 at 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
More information about the pacman-dev
mailing list