graphics/qrencode: Remove .la files.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Lenard Spencer 2020-05-10 08:14:04 +07:00 committed by Willy Sudiarto Raharjo
parent d5fb41a472
commit 02afcb7781

View file

@ -3,7 +3,7 @@
# SlackBuild Script for qrencode # SlackBuild Script for qrencode
# Copyright 2012 Matthew "mfillpot" Fillpot # Copyright 2012 Matthew "mfillpot" Fillpot
# Revised 2018 Lenard Spencer # Copyright 2018 Lenard Spencer, Orlando, Florida, USA
# All rights reserved. # All rights reserved.
# #
# Redistribution and use of this script, with or without modification, is # Redistribution and use of this script, with or without modification, is
@ -84,9 +84,6 @@ CXXFLAGS="$SLKCFLAGS" \
make make
make install DESTDIR=$PKG make install DESTDIR=$PKG
# Do not ship .la files
find $PKG/usr/lib${LIBDIRSUFFIX} -name *.la -delete || true
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ 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 | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true