From 495ff3f6e548df38180fb9370833646606954bfc Mon Sep 17 00:00:00 2001 From: Erich Ritz Date: Mon, 7 Feb 2022 15:20:46 -0600 Subject: graphics/fontforge: Don't ship .la files Signed-off-by: Willy Sudiarto Raharjo --- graphics/fontforge/fontforge.SlackBuild | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.3