summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/bootstrap-prefix.sh2
1 files changed, 1 insertions, 1 deletions
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