desktop/flatpak: Don't ship *.la files.

Signed-off-by: Erich Ritz <erich.public@protonmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Erich Ritz 2022-03-05 20:49:16 -06:00 committed by Willy Sudiarto Raharjo
parent df7fc8a87c
commit 59d4fd5caf
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
1 changed files with 3 additions and 0 deletions

View File

@ -94,6 +94,9 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
# Don't ship .la files:
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
chmod +x $PKG/etc/profile.d/flatpak.sh
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \