From 8833389084f0eb3b79f4dde59fe9f5b9866c4eba Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Tue, 30 May 2023 19:25:28 +0200 Subject: scripts/bootstrap-prefix: fix Python bootstrap on Solaris Signed-off-by: Fabian Groffen --- 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 f7cb6208fa..45cf2f4e2c 100755 --- a/scripts/bootstrap-prefix.sh +++ b/scripts/bootstrap-prefix.sh @@ -1005,7 +1005,10 @@ bootstrap_python() { # OpenIndiana/Solaris 11 defines inet_aton no longer in # libresolv, so use hstrerror to check if we need -lresolv sed -i -e '/AC_CHECK_LIB/s/inet_aton/hstrerror/' \ - configure || die + configure.ac || die + # we don't regenerate configure at this point, so just force the + # fix result + export LIBS="${LIBS} -lresolv" ;; (*-darwin9) # Darwin 9's kqueue seems to act up (at least at this stage), so -- cgit v1.2.3-18-g5258