From 27837af6735978cb95e440521fbe37861aad21ff Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Fri, 29 Mar 2024 12:53:46 +0100 Subject: stage1: allow libz to be in lib64 or something for Gentoo host shortcut Fix by flow from PR #35 on github. Signed-off-by: Fabian Groffen --- scripts/bootstrap-prefix.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh index cb15d53cd6..0e3bf1ef75 100755 --- a/scripts/bootstrap-prefix.sh +++ b/scripts/bootstrap-prefix.sh @@ -1612,7 +1612,7 @@ bootstrap_stage1() { # Portage) and binutils use it # note that this actually breaks the concept of stage1, this will be # compiled for the target prefix - for zlib in ${ROOT}/tmp/usr/lib/libz.* ; do + for zlib in ${ROOT}/tmp/usr/lib*/libz.* ; do [[ -e ${zlib} ]] && break zlib= done -- cgit v1.2.3-65-gdbad