commit:     60e8e557f12523874018351c8a6ac5be70213613
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 15 02:06:40 2025 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Thu Apr 24 21:59:54 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60e8e557

media-libs/imlib2: make sure elibtoolize is applied

Needed to e.g. pass LTO warning flags through to the linker.

Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

 media-libs/imlib2/imlib2-1.12.4.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/media-libs/imlib2/imlib2-1.12.4.ebuild 
b/media-libs/imlib2/imlib2-1.12.4.ebuild
index 8efc515f2b51..3cc42f3245e3 100644
--- a/media-libs/imlib2/imlib2-1.12.4.ebuild
+++ b/media-libs/imlib2/imlib2-1.12.4.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 # Must be bumped with media-plugins/imlib2_loaders!
 
-inherit multilib-minimal toolchain-funcs
+inherit libtool multilib-minimal toolchain-funcs
 
 DESCRIPTION="Version 2 of an advanced replacement library for libraries like 
libXpm"
 HOMEPAGE="https://www.enlightenment.org/
@@ -57,6 +57,11 @@ BDEPEND="
 # default DOCS will haul README.in we do not need
 DOCS=( AUTHORS ChangeLog README TODO )
 
+src_prepare() {
+       default
+       elibtoolize
+}
+
 multilib_src_configure() {
        local myeconfargs=(
                $(use_with X x)

Reply via email to