Skip to content

Commit 99d8dfd

Browse files
miss-islingtonZackerySpytzxdegaye
authored
[3.12] gh-80532: Do not set ipv6type when cross-compiling (GH-17956) (#113740)
(cherry picked from commit 5e1916b) Co-authored-by: Zackery Spytz <[email protected]> Co-authored-by: Xavier de Gaye <[email protected]>
1 parent b95cebf commit 99d8dfd

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
@@ -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

0 commit comments

Comments
 (0)