diff --git a/app-text/htmltidy/tidy-5.8.0.recipe b/app-text/htmltidy/tidy-5.8.0.recipe
index b131ed01c..00cc4d4e2 100644
--- a/app-text/htmltidy/tidy-5.8.0.recipe
+++ b/app-text/htmltidy/tidy-5.8.0.recipe
@@ -4,7 +4,7 @@ and developers can easily integrate its features into even more powerful tools."
HOMEPAGE="http://www.html-tidy.org/"
COPYRIGHT="1998-2022 World Wide Web Consortium"
LICENSE="MIT"
-REVISION="2"
+REVISION="3"
SOURCE_URI="https://github.com/htacg/tidy-html5/archive/$portVersion.tar.gz"
CHECKSUM_SHA256="59c86d5b2e452f63c5cdb29c866a12a4c55b1741d7025cf2f3ce0cde99b0660e"
SOURCE_DIR="tidy-html5-$portVersion"
@@ -57,6 +57,8 @@ INSTALL()
{
make -C build install
+ rm $libDir/*.a
+
prepareInstalledDevelLib libtidy
fixPkgconfig