commit: c0bbba06dc9cf77eb5daf7b68d5aa00fbfeaa0db
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 22 08:30:28 2025 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Mon Dec 22 08:30:28 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=c0bbba06
scripts/bootstrap-prefix: fix wget bootstrap from stage1
Now we actually push our header locations through *FLAGS we pick up the
bootstrapped libressl, and find mismatches with the host. Force
detection without pkg-config (for we don't have it) so it won't get
confused during compilation (and we can actually compile 1.25).
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
scripts/bootstrap-prefix.sh | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh
index 82cdfbdbd2..72fd7bc4f8 100755
--- a/scripts/bootstrap-prefix.sh
+++ b/scripts/bootstrap-prefix.sh
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
#shellcheck disable=SC1091,SC2015,SC2016,SC2030,SC2031,SC2038,SC2185,SC2120
-# Copyright 2006-2024 Gentoo Authors
+# Copyright 2006-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
trap 'exit 1' TERM INT QUIT ABRT
@@ -921,6 +921,9 @@ bootstrap_gnu() {
myconf+=(
"-with-ssl=openssl"
)
+ # avoid pkg-config call
+ export OPENSSL_CFLAGS="-I${ROOT}/tmp"
+ export OPENSSL_LIBS="-lssl -lcrypto"
else
myconf+=( "--without-ssl" )
fi