commit:     27837af6735978cb95e440521fbe37861aad21ff
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 29 11:53:46 2024 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Fri Mar 29 11:53:46 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=27837af6

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 <grobian <AT> gentoo.org>

 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

Reply via email to