commit:     583991dab5c4e58cb86543099bcdf8f1fae2f684
Author:     Z. Liu <zhixu.liu <AT> gmail <DOT> com>
AuthorDate: Sat Jul 19 12:45:46 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Sep 14 10:44:22 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=583991da

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

Closes: https://bugs.gentoo.org/915199
Signed-off-by: Z. Liu <zhixu.liu <AT> gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/43064
Signed-off-by: Sam James <sam <AT> gentoo.org>

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

diff --git a/sys-libs/ldb/ldb-2.9.2.ebuild b/sys-libs/ldb/ldb-2.9.2.ebuild
index 6d3e584582b8..afe474cf5264 100644
--- a/sys-libs/ldb/ldb-2.9.2.ebuild
+++ b/sys-libs/ldb/ldb-2.9.2.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 PYTHON_COMPAT=( python3_{10..13} )
 PYTHON_REQ_USE="threads(+)"
-inherit python-single-r1 waf-utils multilib-minimal
+inherit python-single-r1 waf-utils multilib-minimal flag-o-matic
 
 DESCRIPTION="LDAP-like embedded database"
 HOMEPAGE="https://ldb.samba.org";
@@ -134,6 +134,8 @@ multilib_src_configure() {
                myconf+=( --disable-python )
        fi
 
+       append-ldflags $(test-flags-CCLD -Wl,--undefined-version) # bug 915199
+
        waf-utils_src_configure "${myconf[@]}"
 }
 

Reply via email to