fix a problem with stripping dependent libs

git-svn-id: svn://localhost/ardour2/branches/3.0@12186 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2012-05-04 13:51:32 +00:00
parent 437ed14c45
commit 6d723920f6

View File

@ -542,10 +542,14 @@ echo
# strip libraries
if test x$STRIP = xall ; then
echo Stripping all libraries
# Must be writable so that we can strip
find $APPLIB/ -name "*.so*" | xargs chmod u+w
# and strip ...
find $APPLIB/ -name "*.so*" | xargs strip
elif test x$STRIP = xsome ; then
echo Stripping dependent libraries
for l in $deplibs ; do
chmod u+w $APPLIB/$l
strip $APPLIB/$l
done
fi