From 487c5f4be6abecfc73761416471c1f0723e6afb3 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 3 Feb 2011 19:20:53 +0000 Subject: [PATCH] if STRIP is not set, don't strip included libraries either git-svn-id: svn://localhost/ardour2/branches/3.0@8691 d708f5d6-7413-0410-9779-e7cbd77b26cf --- tools/linux_packaging/build | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tools/linux_packaging/build b/tools/linux_packaging/build index 45453227c3..22953d444b 100755 --- a/tools/linux_packaging/build +++ b/tools/linux_packaging/build @@ -491,9 +491,11 @@ done echo # strip libraries -echo Stripping libraries -find $APPLIB/ -name "*.so*" | xargs strip -find $APPLIB/ -name "*.so*" | xargs chmod a+rx +if test x$STRIP != x ; then + echo Stripping libraries + find $APPLIB/ -name "*.so*" | xargs strip + find $APPLIB/ -name "*.so*" | xargs chmod a+rx +fi echo "Copying other stuff to $APPDIR ..."