mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sys-libs/tdb: always pass -Wl,--undefined-version if supported
otherwise, for example, lld will report: > ld.lld: error: version script assignment of 'TDB_1.2.1' to symbol 'tdb_do_delete' failed: symbol not defined > ld.lld: error: version script assignment of 'local' to symbol '_end' failed: symbol not defined > ld.lld: error: version script assignment of 'local' to symbol '__bss_start' failed: symbol not defined > ld.lld: error: version script assignment of 'local' to symbol '_edata' failed: symbol not defined Closes: https://bugs.gentoo.org/914857 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:
@@ -5,7 +5,7 @@ EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..13} )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
inherit waf-utils multilib-minimal python-single-r1
|
||||
inherit waf-utils multilib-minimal python-single-r1 flag-o-matic
|
||||
|
||||
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[@]}"
|
||||
}
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..13} )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
inherit waf-utils multilib-minimal python-single-r1
|
||||
inherit waf-utils multilib-minimal python-single-r1 flag-o-matic
|
||||
|
||||
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[@]}"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user