From 2a8c58b5849ed2c9908cf08b596f370454c251b6 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 4 Aug 2024 12:03:51 +0200 Subject: [PATCH] package/libgcrypt: fix libgpg-error detection Libgcrypt uses two scripts to identify libgpg-error location. The first one is gpg-error-config. The second one is gpgrt-config. The usage of gpg-error-config is deprecated. Help libgcrpyt to find a correct gpgrt-config for cross-compilation. Fixes: - http://autobuild.buildroot.net/results/46e/46efff01f7d0a2ce3c8523cd073302e58e0f0ae5/ Signed-off-by: Waldemar Brodkorb Signed-off-by: Thomas Petazzoni --- package/libgcrypt/libgcrypt.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/libgcrypt/libgcrypt.mk b/package/libgcrypt/libgcrypt.mk index ae50ead343..57eca507b3 100644 --- a/package/libgcrypt/libgcrypt.mk +++ b/package/libgcrypt/libgcrypt.mk @@ -16,6 +16,7 @@ LIBGCRYPT_CPE_ID_VENDOR = gnupg # Patching configure.ac and Makefile.am in 0001 LIBGCRYPT_AUTORECONF = YES +LIBGCRYPT_CONF_ENV += GPGRT_CONFIG=$(STAGING_DIR)/usr/bin/gpgrt-config LIBGCRYPT_CONF_OPTS = \ --disable-tests \ $(if $(BR2_OPTIMIZE_0),--disable-ppc-crypto-support,) \