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

Closes: https://bugs.gentoo.org/915199
Signed-off-by: Z. Liu <zhixu.liu@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/43064
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Z. Liu
2025-07-19 20:45:46 +08:00
committed by Sam James
parent ff7e542ec0
commit 583991dab5

View File

@@ -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[@]}"
}