libcurl: enabled IPv6 support
PATCH 1/1 libcurl: enabled IPv6 support
From: vsergeev <[email protected]>
Modified libcurl package Makefile to pass the configure option for IPv6 support if BR2_INET_IPV6 is set.
--- package/libcurl/libcurl.mk | 4 ++++ 1 file changed, 4 insertions(+)
package/libcurl/libcurl.mk +4 -0
@@ -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
Signature · 1 line
1.7.10
PATCH 1/1 libcurl: enabled IPv6 support
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Vanya" == Vanya Sergeev <[email protected]> writes:
Vanya> From: vsergeev <[email protected]>
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 <[email protected]> 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.
Signature · 1 line
Bye, Peter Korsgaard