From 5a44773016458853bb03ac0f6101898b213fe998 Mon Sep 17 00:00:00 2001 From: Todd Naugle Date: Fri, 4 Feb 2011 14:18:38 +0000 Subject: [PATCH] only strip libs when requested git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@8702 d708f5d6-7413-0410-9779-e7cbd77b26cf --- tools/linux_packaging/build | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tools/linux_packaging/build b/tools/linux_packaging/build index ab2ed452cc..4420a1d1b4 100755 --- a/tools/linux_packaging/build +++ b/tools/linux_packaging/build @@ -511,8 +511,11 @@ done echo # strip libraries -echo Stripping libraries -find $APPLIB/ -name "*.so*" | xargs strip +if test x$STRIP != x ; then + echo Stripping libraries + find $APPLIB/ -name "*.so*" | xargs strip +fi + find $APPLIB/ -name "*.so*" | xargs chmod a+rx echo "Copying other stuff to $APPDIR ..."