summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2011-02-03 19:20:53 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2011-02-03 19:20:53 +0000
commit487c5f4be6abecfc73761416471c1f0723e6afb3 (patch)
tree743fccad9edf8bc95302f0ae15225d5a4a69c932 /tools
parent69388aff817ba041f321645e3d8b00179e975533 (diff)
if STRIP is not set, don't strip included libraries either
git-svn-id: svn://localhost/ardour2/branches/3.0@8691 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'tools')
-rwxr-xr-xtools/linux_packaging/build8
1 files changed, 5 insertions, 3 deletions
diff --git a/tools/linux_packaging/build b/tools/linux_packaging/build
index 45453227c3..22953d444b 100755
--- a/tools/linux_packaging/build
+++ b/tools/linux_packaging/build
@@ -491,9 +491,11 @@ done
echo
# strip libraries
-echo Stripping libraries
-find $APPLIB/ -name "*.so*" | xargs strip
-find $APPLIB/ -name "*.so*" | xargs chmod a+rx
+if test x$STRIP != x ; then
+ echo Stripping libraries
+ find $APPLIB/ -name "*.so*" | xargs strip
+ find $APPLIB/ -name "*.so*" | xargs chmod a+rx
+fi
echo "Copying other stuff to $APPDIR ..."