summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/freetype/freetype-9999.ebuild')
-rw-r--r--media-libs/freetype/freetype-9999.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/media-libs/freetype/freetype-9999.ebuild b/media-libs/freetype/freetype-9999.ebuild
index f8e4fb37a31..87b22162625 100644
--- a/media-libs/freetype/freetype-9999.ebuild
+++ b/media-libs/freetype/freetype-9999.ebuild
@@ -230,5 +230,8 @@ multilib_src_install_all() {
dodoc -r docs/*
fi
- find "${ED}" \( -name '*.a' -o -name '*.la' \) -delete || die
+ find "${ED}" -name '*.la' -delete || die
+ if ! use static-libs ; then
+ find "${ED}" -name '*.a' -delete || die
+ fi
}