From 2a10c9d0a2aaec7597b53b90fff784dfc691f337 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Tue, 24 Apr 2012 22:32:55 +0200 Subject: [PATCH] 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 --- package/Makefile.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/Makefile.in b/package/Makefile.in index 943017b5dc..655951e388 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 -- 2.30.2