* [Buildroot] [PATCH] libcurl: enabled IPv6 support
@ 2012-04-23 6:46 Vanya Sergeev
2012-04-24 20:35 ` Peter Korsgaard
0 siblings, 1 reply; 2+ messages in thread
From: Vanya Sergeev @ 2012-04-23 6:46 UTC (permalink / raw)
To: buildroot
From: vsergeev <vsergeev@gmail.com>
Modified libcurl package Makefile to pass the configure option for IPv6 support
if BR2_INET_IPV6 is set.
Signed-off-by: Vanya Sergeev <vsergeev@gmail.com>
---
package/libcurl/libcurl.mk | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/package/libcurl/libcurl.mk b/package/libcurl/libcurl.mk
index e094e31..127d9ca 100644
--- a/package/libcurl/libcurl.mk
+++ b/package/libcurl/libcurl.mk
@@ -10,6 +10,10 @@ LIBCURL_SITE = http://curl.haxx.se/download
LIBCURL_INSTALL_STAGING = YES
LIBCURL_CONF_OPT = --disable-verbose --disable-manual --enable-hidden-symbols
+ifeq ($(BR2_INET_IPV6),y)
+LIBCURL_CONF_OPT += --enable-ipv6
+endif
+
ifeq ($(BR2_PACKAGE_OPENSSL),y)
LIBCURL_DEPENDENCIES += openssl
LIBCURL_CONF_ENV += ac_cv_lib_crypto_CRYPTO_lock=yes
--
1.7.10
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] libcurl: enabled IPv6 support
2012-04-23 6:46 [Buildroot] [PATCH] libcurl: enabled IPv6 support Vanya Sergeev
@ 2012-04-24 20:35 ` Peter Korsgaard
0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2012-04-24 20:35 UTC (permalink / raw)
To: buildroot
>>>>> "Vanya" == Vanya Sergeev <vsergeev@gmail.com> writes:
Vanya> From: vsergeev <vsergeev@gmail.com>
Vanya> Modified libcurl package Makefile to pass the configure option for IPv6 support
Vanya> if BR2_INET_IPV6 is set.
Vanya> Signed-off-by: Vanya Sergeev <vsergeev@gmail.com>
Vanya> ---
Vanya> package/libcurl/libcurl.mk | 4 ++++
Vanya> 1 file changed, 4 insertions(+)
Vanya> diff --git a/package/libcurl/libcurl.mk b/package/libcurl/libcurl.mk
Vanya> index e094e31..127d9ca 100644
Vanya> --- a/package/libcurl/libcurl.mk
Vanya> +++ b/package/libcurl/libcurl.mk
Vanya> @@ -10,6 +10,10 @@ LIBCURL_SITE = http://curl.haxx.se/download
Vanya> LIBCURL_INSTALL_STAGING = YES
Vanya> LIBCURL_CONF_OPT = --disable-verbose --disable-manual --enable-hidden-symbols
Vanya> +ifeq ($(BR2_INET_IPV6),y)
Vanya> +LIBCURL_CONF_OPT += --enable-ipv6
Curl might be a bit special in the sense that it is using AC_TRY_RUN
to detect ipv6 support (which doesn't work when cross compiling), but
other packages might have the same problem and we already handle ipv6
disabling on a global level, so I have instead added --enable-ipv6 when
BR2_INET_IPV6 is enabled on a global level in package/Makefile.in.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-04-24 20:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-23 6:46 [Buildroot] [PATCH] libcurl: enabled IPv6 support Vanya Sergeev
2012-04-24 20:35 ` Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.