diff mbox series

package/libgcrypt: fix libgpg-error detection

Message ID Zq9SB3AwoQb731Ki@waldemar-brodkorb.de
State Accepted
Headers show
Series package/libgcrypt: fix libgpg-error detection | expand

Commit Message

Waldemar Brodkorb Aug. 4, 2024, 10:03 a.m. UTC
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 <wbx@openadk.org>
---
 package/libgcrypt/libgcrypt.mk | 1 +
 1 file changed, 1 insertion(+)

Comments

Thomas Petazzoni Aug. 4, 2024, 8:49 p.m. UTC | #1
On Sun, 4 Aug 2024 12:03:51 +0200
Waldemar Brodkorb <wbx@openadk.org> wrote:

> 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 <wbx@openadk.org>
> ---
>  package/libgcrypt/libgcrypt.mk | 1 +
>  1 file changed, 1 insertion(+)

Applied to master, thanks.

Thomas
diff mbox series

Patch

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,) \