package/libgcrypt: add host variant

This is needed to support a host build of gnupg2.  It is not directly
selectable.

Signed-off-by: Ben Hutchings <ben.hutchings@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Ben Hutchings 2024-04-12 23:43:08 +02:00 committed by Thomas Petazzoni
parent fc8355c7f5
commit e49102f934

View File

@ -31,4 +31,10 @@ ifeq ($(BR2_ARM_INSTRUCTIONS_THUMB),y)
LIBGCRYPT_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -marm"
endif
HOST_LIBGCRYPT_DEPENDENCIES = host-libgpg-error
HOST_LIBGCRYPT_CONF_OPTS = \
--disable-tests \
--with-gpg-error-prefix=$(HOST_DIR)
$(eval $(autotools-package))
$(eval $(host-autotools-package))