commit:     483ba0aca612dbb21a41324551ab696d2a94c13c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 25 19:08:10 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Mar 25 19:08:22 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=483ba0ac

media-libs/spandsp: fix removal of .la

Closes: https://bugs.gentoo.org/716260
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/spandsp/spandsp-0.0.6.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/spandsp/spandsp-0.0.6.ebuild 
b/media-libs/spandsp/spandsp-0.0.6.ebuild
index 26ce3e472a7..f5989411a1b 100644
--- a/media-libs/spandsp/spandsp-0.0.6.ebuild
+++ b/media-libs/spandsp/spandsp-0.0.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -57,7 +57,7 @@ src_install() {
 
        if ! use static-libs; then
                # remove useless la file when not installing static lib
-               rm "${D}"/usr/$(get_libdir)/lib${PN}.la || die "rm failed"
+               find "${ED}" -name '*.la' -delete || die
        fi
 
        if use doc; then

Reply via email to