diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-05-04 13:51:32 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-05-04 13:51:32 +0000 |
commit | 6d723920f69882cc96df599e7b5395acadba7323 (patch) | |
tree | 628cb33fd840ca533808154275d6e0eca32d2257 /tools | |
parent | 437ed14c457d42a1bb047f239052e37095f8abe6 (diff) |
fix a problem with stripping dependent libs
git-svn-id: svn://localhost/ardour2/branches/3.0@12186 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/linux_packaging/build | 4 |
1 files changed, 4 insertions, 0 deletions
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 |