only strip libs when requested

git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@8702 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Todd Naugle 2011-02-04 14:18:38 +00:00
parent c60c1d2844
commit 5a44773016
1 changed files with 5 additions and 2 deletions

View File

@ -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 ..."