13
0

attempt to fix the strip club

This commit is contained in:
Robin Gareus 2015-04-19 16:21:28 +02:00
parent 9ad49ca5e5
commit cda08d1605

View File

@ -513,17 +513,17 @@ echo
if test x$STRIP = xall ; then if test x$STRIP = xall ; then
echo Stripping all libraries echo Stripping all libraries
# Must be writable so that we can strip # 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 ... # and strip ...
find $APPLIB/ -name "*.so*" | xargs strip find $APPLIB/ -name "*.so*" -print0 | xargs -0 strip -s
elif test x$STRIP = xsome ; then elif test x$STRIP = xsome ; then
echo Stripping dependent libraries echo Stripping dependent libraries
for l in $deplibs ; do for l in $deplibs ; do
chmod u+w $APPLIB/$l chmod u+w $APPLIB/$l
strip $APPLIB/$l strip -s $APPLIB/$l
done done
fi 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 ..." echo "Copying other stuff to $APPDIR ..."