Skip to content

Commit 1687e85

Browse files
erlend-aaslandZackerySpytzxdegaye
authored
[3.11] gh-80532: Do not set ipv6type when cross-compiling (GH-17956) (#113741)
(cherry picked from commit 5e1916b) Co-authored-by: Zackery Spytz <[email protected]> Co-authored-by: Xavier de Gaye <[email protected]>
1 parent 5da53d3 commit 1687e85

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Do not set ipv6type when cross-compiling.

configure

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4273,7 +4273,7 @@ ipv6type=unknown
42734273
ipv6lib=none
42744274
ipv6trylibc=no
42754275

4276-
if test "$ipv6" = "yes"; then
4276+
if test "$ipv6" = yes -a "$cross_compiling" = no; then
42774277
AC_MSG_CHECKING([ipv6 stack type])
42784278
for i in inria kame linux-glibc linux-inet6 solaris toshiba v6d zeta;
42794279
do

0 commit comments

Comments
 (0)