From 59d4fd5caf4ec0c3dffbe312ec9cb96b71671d02 Mon Sep 17 00:00:00 2001 From: Erich Ritz Date: Sat, 5 Mar 2022 20:49:16 -0600 Subject: desktop/flatpak: Don't ship *.la files. Signed-off-by: Erich Ritz Signed-off-by: Willy Sudiarto Raharjo --- desktop/flatpak/flatpak.SlackBuild | 3 +++ 1 file changed, 3 insertions(+) (limited to 'desktop/flatpak') diff --git a/desktop/flatpak/flatpak.SlackBuild b/desktop/flatpak/flatpak.SlackBuild index 0241e0b8a8c88..634ff59b4d5aa 100644 --- a/desktop/flatpak/flatpak.SlackBuild +++ b/desktop/flatpak/flatpak.SlackBuild @@ -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 \ -- cgit v1.2.3