diff options
author | Fabian Groffen <grobian@gentoo.org> | 2023-05-30 19:25:28 +0200 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2023-05-31 12:27:16 +0200 |
commit | 8833389084f0eb3b79f4dde59fe9f5b9866c4eba (patch) | |
tree | 080b1834aa92b1eaa3a848013118893e6e910407 | |
parent | scripts/dobootstrap: force bitwidth to supported configs (diff) | |
download | prefix-8833389084f0eb3b79f4dde59fe9f5b9866c4eba.tar.gz prefix-8833389084f0eb3b79f4dde59fe9f5b9866c4eba.tar.bz2 prefix-8833389084f0eb3b79f4dde59fe9f5b9866c4eba.zip |
scripts/bootstrap-prefix: fix Python bootstrap on Solaris
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
-rwxr-xr-x | scripts/bootstrap-prefix.sh | 5 |
1 files changed, 4 insertions, 1 deletions
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 |