From 6d723920f69882cc96df599e7b5395acadba7323 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 4 May 2012 13:51:32 +0000 Subject: fix a problem with stripping dependent libs git-svn-id: svn://localhost/ardour2/branches/3.0@12186 d708f5d6-7413-0410-9779-e7cbd77b26cf --- tools/linux_packaging/build | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tools') diff --git a/tools/linux_packaging/build b/tools/linux_packaging/build index e31f0beb4a..8f3c90f6ad 100755 --- a/tools/linux_packaging/build +++ b/tools/linux_packaging/build @@ -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 -- cgit v1.2.3