diff --git a/libraries/libtommath/libtommath.SlackBuild b/libraries/libtommath/libtommath.SlackBuild index 7cc46c2193..b037fc74fb 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.*.*.*