commit:     2d17a877ee825ac531fbe25eed32e71ae50e01fc
Author:     Sv. Lockal <lockalsash <AT> gmail <DOT> com>
AuthorDate: Sun Nov  9 15:43:15 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=2d17a877

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

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

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

diff --git a/sys-libs/tdb/tdb-1.4.14.ebuild b/sys-libs/tdb/tdb-1.4.14.ebuild
index e6405c026e00..ac464d462886 100644
--- a/sys-libs/tdb/tdb-1.4.14.ebuild
+++ b/sys-libs/tdb/tdb-1.4.14.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="Simple database API"
 HOMEPAGE="https://tdb.samba.org/";
@@ -60,6 +60,8 @@ multilib_src_configure() {
                extra_opts+=( --disable-python )
        fi
 
+       append-ldflags $(test-flags-CCLD -Wl,--undefined-version) # bug 914857
+
        waf-utils_src_configure "${extra_opts[@]}"
 }
 

Reply via email to