commit: 689e9d927deff5351363e325bfadf884f77cee2a
Author: Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 2 18:40:29 2025 +0000
Commit: Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Thu Jul 3 07:59:10 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=689e9d92
dev-libs/libedit: 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>
dev-libs/libedit/libedit-20240808.3.1.ebuild | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/dev-libs/libedit/libedit-20240808.3.1.ebuild
b/dev-libs/libedit/libedit-20240808.3.1.ebuild
index 6d8d3904bfdd..b9bd505838f7 100644
--- a/dev-libs/libedit/libedit-20240808.3.1.ebuild
+++ b/dev-libs/libedit/libedit-20240808.3.1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-inherit multilib-minimal
+inherit libtool multilib-minimal
MY_P=${P/./-}
DESCRIPTION="BSD replacement for libreadline"
@@ -25,6 +25,11 @@ RDEPEND="
QA_PKGCONFIG_VERSION=$(ver_cut 2-3)
+src_prepare() {
+ default
+ elibtoolize
+}
+
multilib_src_configure() {
local myconf=(
$(use_enable static-libs static)