summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Willy Sudiarto Raharjo2021-09-10 08:54:37 +0200
committer Willy Sudiarto Raharjo2021-09-10 08:54:37 +0200
commit600849a4f67119c5ae516a587789a927f323d6bf (patch)
tree3ddaa05e1fdff631983655aa61cd3e646aa36f3e
parentf0774ce26edc3edcc45f6c077feae7d591ba8d1b (diff)
downloadslackbuilds-600849a4f67119c5ae516a587789a927f323d6bf.tar.gz
system/usbredir: Remove la files.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/usbredir/usbredir.SlackBuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/system/usbredir/usbredir.SlackBuild b/system/usbredir/usbredir.SlackBuild
index 72d8704b91..70cbb33dbc 100644
--- a/system/usbredir/usbredir.SlackBuild
+++ b/system/usbredir/usbredir.SlackBuild
@@ -98,6 +98,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
+rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/*.la
+
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true