commit:     d6d8ec3fac56699b9320c3e0a06e37d698eb0222
Author:     Sv. Lockal <lockalsash <AT> gmail <DOT> com>
AuthorDate: Sun Nov  9 14:22:38 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Nov 10 12:22:26 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6d8ec3f

sys-libs/tevent: always pass -Wl,--undefined-version if supported

Closes: https://bugs.gentoo.org/965652
Signed-off-by: Sv. Lockal <lockalsash <AT> gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44552
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-libs/tevent/tevent-0.17.1.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sys-libs/tevent/tevent-0.17.1.ebuild 
b/sys-libs/tevent/tevent-0.17.1.ebuild
index 9669c45c32af..dc874c91495c 100644
--- a/sys-libs/tevent/tevent-0.17.1.ebuild
+++ b/sys-libs/tevent/tevent-0.17.1.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 PYTHON_COMPAT=( python3_{10..14} )
 PYTHON_REQ_USE="threads(+)"
-inherit waf-utils multilib-minimal python-single-r1
+inherit flag-o-matic waf-utils multilib-minimal python-single-r1
 
 DESCRIPTION="Samba tevent library"
 HOMEPAGE="https://tevent.samba.org/";
@@ -78,6 +78,8 @@ multilib_src_configure() {
                bundled_libs="cmocka,${bundled_libs}"
        fi
 
+       append-ldflags $(test-flags-CCLD -Wl,--undefined-version) # bug 915198
+
        waf-utils_src_configure \
                --libdir="${EPREFIX}/usr/$(get_libdir)" \
                --disable-dependency-tracking \

Reply via email to