aboutsummaryrefslogtreecommitdiff
path: root/libraries/libtommath/libtommath.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libtommath/libtommath.SlackBuild')
-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 7cc46c2193d61..b037fc74fb217 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.*.*.*