diff --git a/configure b/configure index a768974a56..9b76c83ee9 100755 --- a/configure +++ b/configure @@ -1233,6 +1233,8 @@ sub default_features { push(@feat, 'ipv6=1') if $opts{'ipv6'}; my @normalized = map {/=/ ? $_ : "$_=1"} @features; push(@feat, @normalized) if @normalized; + } elsif ($opts{'java'}) { + push(@feat, 'java=1'); } return @feat; } diff --git a/docs/news.d/cross-java.rst b/docs/news.d/cross-java.rst new file mode 100644 index 0000000000..e37ab9df5c --- /dev/null +++ b/docs/news.d/cross-java.rst @@ -0,0 +1,5 @@ +.. news-prs: 4763 + +.. news-start-section: Fixes +- Fixed cross-compiled builds using Java +.. news-end-section