app-arch/bzip2: fix src_test

* Actually test the just-built DSO
* ... as a consequence, fix tests for ABI_X86="32" with tests where
  ABI_X86="32" was not previously enabled

Closes: https://bugs.gentoo.org/926553
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James 2025-01-03 12:52:12 +00:00
parent 10b9e85bf2
commit 0ff212c8c7
No known key found for this signature in database
GPG Key ID: 738409F520DF9190

View File

@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# XXX: atm, libbz2.a is always PIC :(, so it is always built quickly
@ -70,6 +70,7 @@ multilib_src_compile() {
multilib_src_test() {
cp "${S}"/sample* "${BUILD_DIR}" || die
ln -s libbz2.so.1.0 libbz2.so.1 || die
bemake -f "${S}"/Makefile check
}