Browse Source

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>
Ben Hutchings 1 năm trước cách đây
mục cha
commit
e49102f934
1 tập tin đã thay đổi với 6 bổ sung0 xóa
  1. 6 0
      package/libgcrypt/libgcrypt.mk

+ 6 - 0
package/libgcrypt/libgcrypt.mk

@@ -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))