summaryrefslogtreecommitdiff
path: root/tools/linux_packaging
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-04-19 16:21:28 +0200
committerRobin Gareus <robin@gareus.org>2015-04-19 16:21:28 +0200
commitcda08d16057dbf66db461a4aaf863aa63ba03f45 (patch)
treed3f72d9aa30564a474d35a935b130821b0eb6ab1 /tools/linux_packaging
parent9ad49ca5e54fed2a679c6f026b1c5bc30dad62a9 (diff)
attempt to fix the strip club
Diffstat (limited to 'tools/linux_packaging')
-rwxr-xr-xtools/linux_packaging/build8
1 files changed, 4 insertions, 4 deletions
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 ..."