mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Bernhard Walle <bernhard@bwalle.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] gnutls: Fix detection of libgcrypt
Date: Tue,  8 May 2012 19:43:01 +0200	[thread overview]
Message-ID: <1336498981-2730-1-git-send-email-bernhard@bwalle.de> (raw)

Without the patch the build fails with

configure: error:
***
*** Libgcrypt v1.4.0 or later was not found. You may want to get it from
*** ftp://ftp.gnupg.org/gcrypt/libgcrypt/
***

It tries to link against system libgcrypt which fails because of an
incompatible architecture (x86-64 vs arm). Tested on current Arch Linux.

Signed-off-by: Bernhard Walle <bernhard@bwalle.de>
---
 rules/gnutls.make |    1 +
 1 Datei geändert, 1 Zeile hinzugefügt(+)

diff --git a/rules/gnutls.make b/rules/gnutls.make
index 22c2807..6d46013 100644
--- a/rules/gnutls.make
+++ b/rules/gnutls.make
@@ -36,6 +36,7 @@ GNUTLS_CONF_TOOL	:= autoconf
 GNUTLS_CONF_OPT		:= \
 	$(CROSS_AUTOCONF_USR) \
 	--with-libgcrypt \
+	--with-libgcrypt-prefix=$(PTXDIST_SYSROOT_TARGET)/usr \
 	--without-p11-kit \
 	--disable-guile
 
-- 
1.7.10.1


-- 
ptxdist mailing list
ptxdist@pengutronix.de

             reply	other threads:[~2012-05-08 17:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-08 17:43 Bernhard Walle [this message]
2012-05-08 18:47 ` Marc Kleine-Budde
2012-05-08 18:49 ` Marc Kleine-Budde

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=1336498981-2730-1-git-send-email-bernhard@bwalle.de \
    --to=bernhard@bwalle.de \
    --cc=ptxdist@pengutronix.de \
    /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