From cda08d16057dbf66db461a4aaf863aa63ba03f45 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sun, 19 Apr 2015 16:21:28 +0200 Subject: attempt to fix the strip club --- tools/linux_packaging/build | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tools') diff --git a/tools/linux_packaging/build b/tools/linux_packaging/build index 5b970acded..d0f9a9099f 100755 --- a/tools/linux_packaging/build +++ b/tools/linux_packaging/build @@ -513,17 +513,17 @@ echo 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 + find $APPLIB/ -name "*.so*" -print0 | xargs -0 chmod u+w # and strip ... - find $APPLIB/ -name "*.so*" | xargs strip + find $APPLIB/ -name "*.so*" -print0 | xargs -0 strip -s elif test x$STRIP = xsome ; then echo Stripping dependent libraries for l in $deplibs ; do chmod u+w $APPLIB/$l - strip $APPLIB/$l + strip -s $APPLIB/$l done fi -find $APPLIB/ -name "*.so*" | xargs chmod a+rx +find $APPLIB/ -name "*.so*" -print0 | xargs -0 chmod a+rx echo "Copying other stuff to $APPDIR ..." -- cgit v1.2.3