diff options
author | Bernhard Walle <bernhard@bwalle.de> | 2012-05-08 19:43:01 +0200 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2012-05-08 20:48:40 +0200 |
commit | 84c9bfadc68e411dee345a52f57ea749786d26ef (patch) | |
tree | 96991102801a9fed38ed8e1d17915123cecfe22f /rules/gnutls.make | |
parent | 602469e955372c15533f83e419f82af6868aa5b9 (diff) | |
download | ptxdist-84c9bfadc68e411dee345a52f57ea749786d26ef.tar.gz ptxdist-84c9bfadc68e411dee345a52f57ea749786d26ef.tar.xz |
gnutls: Fix detection of libgcrypt
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>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'rules/gnutls.make')
-rw-r--r-- | rules/gnutls.make | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rules/gnutls.make b/rules/gnutls.make index 22c28070c..6d460136d 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 |