aboutsummaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorErich Ritz <erich.public@protonmail.com>2022-03-05 20:49:16 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-06 11:43:34 +0700
commit59d4fd5caf4ec0c3dffbe312ec9cb96b71671d02 (patch)
tree457070e4958ae20b8b21993fa61e57854283bd03 /desktop
parentdf7fc8a87cb2abb8bc824baa41d5c8ac82ba11fb (diff)
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>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/flatpak/flatpak.SlackBuild3
1 files changed, 3 insertions, 0 deletions
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 \