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

Closes: https://bugs.gentoo.org/965652
Signed-off-by: Sv. Lockal <lockalsash@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44552
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sv. Lockal 2025-11-09 22:22:38 +08:00 committed by Sam James
parent 223d1cb4b0
commit d6d8ec3fac
No known key found for this signature in database
GPG Key ID: 738409F520DF9190

View File

@ -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 \