commit:     dcaf88aebd1aede6167c8c787afcc92536b1df00
Author:     Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
AuthorDate: Sat Mar 27 15:37:12 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Mar 27 15:37:12 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcaf88ae

dev-libs/npth: Remove .la files

Closes: https://github.com/gentoo/gentoo/pull/20148
Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 dev-libs/npth/npth-1.6-r1.ebuild | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/dev-libs/npth/npth-1.6-r1.ebuild b/dev-libs/npth/npth-1.6-r1.ebuild
index 1255bcd4bae..9c72209ed63 100644
--- a/dev-libs/npth/npth-1.6-r1.ebuild
+++ b/dev-libs/npth/npth-1.6-r1.ebuild
@@ -21,3 +21,10 @@ src_prepare() {
 src_configure() {
        econf --disable-static
 }
+
+src_install() {
+       default
+
+       # no static archives
+       find "${ED}" -name '*.la' -delete || die
+}

Reply via email to