fix a problem with stripping dependent libs
authorPaul Davis <paul@linuxaudiosystems.com>
Fri, 4 May 2012 13:51:32 +0000 (13:51 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Fri, 4 May 2012 13:51:32 +0000 (13:51 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@12186 d708f5d6-7413-0410-9779-e7cbd77b26cf

tools/linux_packaging/build

index e31f0beb4abfbc9465459aa8fe8434a7e32fa804..8f3c90f6ad3cbb56d68c65a8171d07ed8d8c1846 100755 (executable)
@@ -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