From f94b08d2905ce270b9427b9922e7bca784bbdff9 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Tue, 19 Jan 2021 14:27:40 -0500 Subject: libraries/libtommath: Fix build if static libs missing. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- libraries/libtommath/libtommath.SlackBuild | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libraries/libtommath') diff --git a/libraries/libtommath/libtommath.SlackBuild b/libraries/libtommath/libtommath.SlackBuild index 7cc46c2193d6..b037fc74fb21 100644 --- a/libraries/libtommath/libtommath.SlackBuild +++ b/libraries/libtommath/libtommath.SlackBuild @@ -61,8 +61,7 @@ make -f makefile.shared install \ DESTDIR=$PKG chmod 0644 $PKG/usr/include/* -rm $PKG/usr/lib$LIBDIRSUFFIX/*.a -rm $PKG/usr/lib$LIBDIRSUFFIX/*.la +rm -rf $PKG/usr/lib$LIBDIRSUFFIX/*.a $PKG/usr/lib$LIBDIRSUFFIX/*.la strip $PKG/usr/lib$LIBDIRSUFFIX/*.so.*.*.* chmod 755 $PKG/usr/lib$LIBDIRSUFFIX/*.so.*.*.* -- cgit v1.2.3