summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2012-04-24 20:32:55 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2012-04-24 20:32:55 (GMT)
commit2a10c9d0a2aaec7597b53b90fff784dfc691f337 (patch)
treef28a84b3265c50a3d4de1917f829370f44d1dcb9
parent3515019934d1d5d36b2b2189d38b27fb727c25a7 (diff)
downloadbuildroot-2a10c9d0a2aaec7597b53b90fff784dfc691f337.tar.gz
buildroot-2a10c9d0a2aaec7597b53b90fff784dfc691f337.tar.bz2
package/Makefile.in: pass --enable-ipv6 to autotargets configure when enabled
Some packages don't automatically enable IPv6 support if not configured with --disable-ipv6, or use AC_TRY_RUN which doesn't work when cross compiling (like curl), so explicitly configure with --enable-ipv6. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/Makefile.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/Makefile.in b/package/Makefile.in
index 943017b..655951e 100644
--- a/package/Makefile.in
+++ b/package/Makefile.in
@@ -279,7 +279,9 @@ ifneq ($(BR2_HAVE_DOCUMENTATION),y)
DISABLE_DOCUMENTATION=--disable-gtk-doc
endif
-ifneq ($(BR2_INET_IPV6),y)
+ifeq ($(BR2_INET_IPV6),y)
+DISABLE_IPV6= --enable-ipv6
+else
DISABLE_IPV6= --disable-ipv6
endif