From 62c7857dfa5036e26d5b921c199e66621a4bc508 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Thu, 2 Nov 2023 17:09:25 +0100 Subject: [PATCH] package/libassuan: add host variant libassuan is needed by libgpgme, which is needed for skopeo (to come in a followup patch); Signed-off-by: Yann E. MORIN Signed-off-by: Thomas Petazzoni --- package/libassuan/libassuan.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/libassuan/libassuan.mk b/package/libassuan/libassuan.mk index 9553c630a2..8e827bdb80 100644 --- a/package/libassuan/libassuan.mk +++ b/package/libassuan/libassuan.mk @@ -15,8 +15,14 @@ LIBASSUAN_CONF_OPTS = \ --with-gpg-error-prefix=$(STAGING_DIR)/usr LIBASSUAN_CONFIG_SCRIPTS = libassuan-config +HOST_LIBASSUAN_DEPENDENCIES = host-libgpg-error +HOST_LIBASSUAN_CONFIG_SCRIPTS = libassuan-config +HOST_LIBASSUAN_CONF_OPTS = --with-gpg-error-prefix=$(HOST_DIR) + # Force the path to "gpgrt-config" (from the libgpg-error package) to # avoid using the one on host, if present. LIBASSUAN_CONF_ENV += GPGRT_CONFIG=$(STAGING_DIR)/usr/bin/gpgrt-config +HOST_LIBASSUAN_CONF_ENV += GPGRT_CONFIG=$(HOST_DIR)/bin/gpgrt-config $(eval $(autotools-package)) +$(eval $(host-autotools-package))