Skip to content

Commit 5e1916b

Browse files
gh-80532: Do not set ipv6type when cross-compiling (#17956)
Co-authored-by: Xavier de Gaye <[email protected]>
1 parent e56c533 commit 5e1916b

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
@@ -4367,7 +4367,7 @@ ipv6type=unknown
43674367
ipv6lib=none
43684368
ipv6trylibc=no
43694369

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

0 commit comments

Comments
 (0)