aboutsummaryrefslogtreecommitdiff
path: root/libraries/libtommath
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-01-19 14:27:40 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-01-23 18:18:54 +0700
commitf94b08d2905ce270b9427b9922e7bca784bbdff9 (patch)
tree86d73f66253f90bc6ca9fee694b142c082a4d443 /libraries/libtommath
parent33adc18c67134531bc88781af47a4391337e0ffc (diff)
libraries/libtommath: Fix build if static libs missing.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libtommath')
-rw-r--r--libraries/libtommath/libtommath.SlackBuild3
1 files changed, 1 insertions, 2 deletions
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.*.*.*