Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] libcurl: enabled IPv6 support
Date: Tue, 24 Apr 2012 22:35:13 +0200	[thread overview]
Message-ID: <87lilkg96m.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <1335163564-1368-1-git-send-email-vsergeev@gmail.com> (Vanya Sergeev's message of "Mon, 23 Apr 2012 02:46:04 -0400")

>>>>> "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

      reply	other threads:[~2012-04-24 20:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-23  6:46 [Buildroot] [PATCH] libcurl: enabled IPv6 support Vanya Sergeev
2012-04-24 20:35 ` Peter Korsgaard [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lilkg96m.fsf@macbook.be.48ers.dk \
    --to=jacmet@uclibc.org \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox