if STRIP is not set, don't strip included libraries either
authorPaul Davis <paul@linuxaudiosystems.com>
Thu, 3 Feb 2011 19:20:53 +0000 (19:20 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Thu, 3 Feb 2011 19:20:53 +0000 (19:20 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@8691 d708f5d6-7413-0410-9779-e7cbd77b26cf

tools/linux_packaging/build

index 45453227c36f7584510cbb62f08c71b060b4142c..22953d444bec26019113687119c53235acce06e8 100755 (executable)
@@ -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  ..."