[3.12] gh-80532: Do not set ipv6type when cross-compiling (GH-17956) … · python/cpython@99d8dfd

3 files changed

lines changed

Original file line numberDiff line numberDiff line change

@@ -0,0 +1 @@

1+

Do not set ipv6type when cross-compiling.

Original file line numberDiff line numberDiff line change

@@ -4540,7 +4540,7 @@ ipv6type=unknown

45404540

ipv6lib=none

45414541

ipv6trylibc=no

45424542
4543-

if test "$ipv6" = "yes"; then

4543+

if test "$ipv6" = yes -a "$cross_compiling" = no; then

45444544

AC_MSG_CHECKING([ipv6 stack type])

45454545

for i in inria kame linux-glibc linux-inet6 solaris toshiba v6d zeta;

45464546

do