All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] gnutls: fix libz autodetection failure
Date: Tue, 04 Feb 2014 17:58:58 +0100	[thread overview]
Message-ID: <52F11C52.3010407@mind.be> (raw)
In-Reply-To: <1391525863-22787-1-git-send-email-antoine@bokbox.com>

On 04/02/14 15:57, Antoine Pierlot-Garcin wrote:
> The configure script finds libz in the distribution libraries, which causes
> zlib support to be dropped from the cross-compiled GnuTLS.
> 
> Signed-off-by: Antoine Pierlot-Garcin <antoine@bokbox.com>

Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>

 I had noticed the -L/usr/lib in one of the link commands but didn't
worry about it at the time :-)

 Regards,
 Arnout

> ---
>  package/gnutls/gnutls.mk | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/package/gnutls/gnutls.mk b/package/gnutls/gnutls.mk
> index 73b525d..c0bd778 100644
> --- a/package/gnutls/gnutls.mk
> +++ b/package/gnutls/gnutls.mk
> @@ -28,8 +28,9 @@ GNUTLS_CONF_ENV = gl_cv_socket_ipv6=$(if $(BR2_INET_IPV6),yes,no) \
>  	gl_cv_func_gettimeofday_clobber=no
>  GNUTLS_INSTALL_STAGING = YES
>  
> -# libpthread autodetection poisons the linkpath
> +# libpthread and libz autodetection poison the linkpath
>  GNUTLS_CONF_OPT += $(if $(BR2_TOOLCHAIN_HAS_THREADS),--with-libpthread-prefix=$(STAGING_DIR)/usr)
> +GNUTLS_CONF_OPT += $(if $(BR2_PACKAGE_ZLIB),--with-libz-prefix=$(STAGING_DIR)/usr)
>  
>  # gnutls needs libregex, but pcre can be used too
>  # The check isn't cross-compile friendly
> 


-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F

  reply	other threads:[~2014-02-04 16:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-04 14:57 [Buildroot] [PATCH 1/1] gnutls: fix libz autodetection failure Antoine Pierlot-Garcin
2014-02-04 16:58 ` Arnout Vandecappelle [this message]
2014-02-04 19:00 ` Peter Korsgaard

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=52F11C52.3010407@mind.be \
    --to=arnout@mind.be \
    --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 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.