commit:     1652c10044cb2924a505186846bffbbb05ef152f
Author:     David Zero <zero-one <AT> zer0-one <DOT> net>
AuthorDate: Sun May  6 23:47:18 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri May 18 15:00:31 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1652c100

dev-libs/jansson: Remove libtool archives

This commit adds a multilib_src_install() hook that removes any
generated libtool archives.

Closes: https://bugs.gentoo.org/642174
Closes: https://github.com/gentoo/gentoo/pull/8294

 dev-libs/jansson/jansson-2.11.ebuild | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/dev-libs/jansson/jansson-2.11.ebuild 
b/dev-libs/jansson/jansson-2.11.ebuild
index 682c09bc583..595c96d72f9 100644
--- a/dev-libs/jansson/jansson-2.11.ebuild
+++ b/dev-libs/jansson/jansson-2.11.ebuild
@@ -29,3 +29,9 @@ multilib_src_compile() {
                HTML_DOCS=( "${BUILD_DIR}"/doc/_build/html/. )
        fi
 }
+
+multilib_src_install() {
+       default
+
+       find "${D}" -name '*.la' -delete || die
+}

Reply via email to