Skip to contentSkip to conversation

package/libgcrypt: fix libgpg-error detection

PATCH Applied Waldemar Brodkorb 2 participants 2 messages Aug 4, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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/

---
 package/libgcrypt/libgcrypt.mk | 1 +
 1 file changed, 1 insertion(+)
package/libgcrypt/libgcrypt.mk +1 -0
index ae50ead343..57eca507b3 100644
@@ -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,) \
Signature · 6 lines
2.30.2

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 5 lines · On Sun, 4 Aug 2024 12:03:51 +0200 Waldemar Brodkorb <[email protected]> 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.

Quoted 7 lines

Fixes:
- http://autobuild.buildroot.net/results/46e/46efff01f7d0a2ce3c8523cd073302e58e0f0ae5/

---
 package/libgcrypt/libgcrypt.mk | 1 +
 1 file changed, 1 insertion(+)

Applied to master, thanks.

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot