app-arch/bzip2: Sync with Gentoo

It's from Gentoo commit 0c08919f07c047f442aa24d93597d4ac8759e849.
This commit is contained in:
Flatcar Buildbot 2025-01-13 07:04:34 +00:00 committed by Krzesimir Nowak
parent f000abf098
commit ba828ac4da

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,7 +70,8 @@ multilib_src_compile() {
multilib_src_test() {
cp "${S}"/sample* "${BUILD_DIR}" || die
bemake -f "${S}"/Makefile check
ln -s libbz2.so.1.0 libbz2.so.1 || die
LD_LIBRARY_PATH=".:${LD_LIBRARY_PATH}" bemake -f "${S}"/Makefile check
}
multilib_src_install() {