dev-libs/librdkafka: fix find in src_install
authorThomas Deutschmann <whissi@gentoo.org>
Fri, 8 May 2020 22:38:36 +0000 (00:38 +0200)
committerThomas Deutschmann <whissi@gentoo.org>
Fri, 8 May 2020 22:49:03 +0000 (00:49 +0200)
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
dev-libs/librdkafka/librdkafka-1.4.0.ebuild

index 4eb1eb477a1638a46661f8e44c82d410654c4d44..ebc30a9d77d48d6d27b295fa1ef2fb6145950226 100644 (file)
@@ -68,6 +68,6 @@ src_install() {
                install
 
        if ! use static-libs; then
-               find "${ED}"/usr/lib* -name '*.la' -o -name '*.a' -delete || die
+               find "${ED}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die
        fi
 }