mirror of https://github.com/python/cpython
gh-80532: Do not set ipv6type when cross-compiling (#17956)
Co-authored-by: Xavier de Gaye <xdegaye@gmail.com>
This commit is contained in:
parent
e56c53334f
commit
5e1916ba1b
|
@ -0,0 +1 @@
|
|||
Do not set ipv6type when cross-compiling.
|
|
@ -16538,7 +16538,7 @@ ipv6type=unknown
|
|||
ipv6lib=none
|
||||
ipv6trylibc=no
|
||||
|
||||
if test "$ipv6" = "yes"; then
|
||||
if test "$ipv6" = yes -a "$cross_compiling" = no; then
|
||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking ipv6 stack type" >&5
|
||||
printf %s "checking ipv6 stack type... " >&6; }
|
||||
for i in inria kame linux-glibc linux-inet6 solaris toshiba v6d zeta;
|
||||
|
|
|
@ -4367,7 +4367,7 @@ ipv6type=unknown
|
|||
ipv6lib=none
|
||||
ipv6trylibc=no
|
||||
|
||||
if test "$ipv6" = "yes"; then
|
||||
if test "$ipv6" = yes -a "$cross_compiling" = no; then
|
||||
AC_MSG_CHECKING([ipv6 stack type])
|
||||
for i in inria kame linux-glibc linux-inet6 solaris toshiba v6d zeta;
|
||||
do
|
||||
|
|
Loading…
Reference in New Issue