aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorErich Ritz <erich.public@protonmail.com>2022-02-07 15:20:46 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-08 10:28:34 +0700
commit495ff3f6e548df38180fb9370833646606954bfc (patch)
treebc51fa32ccd9f2b2999f442901109ce98aba4307 /graphics
parentb3f2ad0f0cabddaeea509c9b6cc5e3e315af1229 (diff)
graphics/fontforge: Don't ship .la files
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/fontforge/fontforge.SlackBuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/graphics/fontforge/fontforge.SlackBuild b/graphics/fontforge/fontforge.SlackBuild
index 00808b8437861..7c7b14538cb91 100644
--- a/graphics/fontforge/fontforge.SlackBuild
+++ b/graphics/fontforge/fontforge.SlackBuild
@@ -126,6 +126,8 @@ tar xvf $CWD/cidmaps.tgz -C $PKG/usr/share/fontforge || exit 1
chmod 0644 $PKG/usr/share/fontforge/*.cidmap
chown root:root $PKG/usr/share/fontforge/*.cidmap
+rm -f $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