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>
This commit is contained in:
B. Watson 2021-01-19 14:27:40 -05:00 committed by Willy Sudiarto Raharjo
parent 33adc18c67
commit f94b08d290
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -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.*.*.*