Skip to content

Commit c0bbba0

Browse files
committed
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 <[email protected]>
1 parent 9c0d4a5 commit c0bbba0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

scripts/bootstrap-prefix.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22
#shellcheck disable=SC1091,SC2015,SC2016,SC2030,SC2031,SC2038,SC2185,SC2120
3-
# Copyright 2006-2024 Gentoo Authors
3+
# Copyright 2006-2025 Gentoo Authors
44
# Distributed under the terms of the GNU General Public License v2
55

66
trap 'exit 1' TERM INT QUIT ABRT
@@ -921,6 +921,9 @@ bootstrap_gnu() {
921921
myconf+=(
922922
"-with-ssl=openssl"
923923
)
924+
# avoid pkg-config call
925+
export OPENSSL_CFLAGS="-I${ROOT}/tmp"
926+
export OPENSSL_LIBS="-lssl -lcrypto"
924927
else
925928
myconf+=( "--without-ssl" )
926929
fi

0 commit comments

Comments
 (0)