mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] gnutls: Fix detection of libgcrypt
@ 2012-05-08 17:43 Bernhard Walle
  2012-05-08 18:47 ` Marc Kleine-Budde
  2012-05-08 18:49 ` Marc Kleine-Budde
  0 siblings, 2 replies; 3+ messages in thread
From: Bernhard Walle @ 2012-05-08 17:43 UTC (permalink / raw)
  To: ptxdist

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-05-08 18:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-08 17:43 [ptxdist] [PATCH] gnutls: Fix detection of libgcrypt Bernhard Walle
2012-05-08 18:47 ` Marc Kleine-Budde
2012-05-08 18:49 ` Marc Kleine-Budde

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox