From c0734f68612b39e5dc863cbc8262afbb6af07e93 Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Fri, 12 Apr 2024 23:43:09 +0200 Subject: [PATCH] package/libksba: add host variant This is needed to support a host build of gnupg2. It is not directly selectable. Signed-off-by: Ben Hutchings Signed-off-by: Thomas Petazzoni --- package/libksba/libksba.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/libksba/libksba.mk b/package/libksba/libksba.mk index b87efda226..03e455145a 100644 --- a/package/libksba/libksba.mk +++ b/package/libksba/libksba.mk @@ -13,9 +13,13 @@ LIBKSBA_CPE_ID_VENDOR = gnupg LIBKSBA_INSTALL_STAGING = YES LIBKSBA_DEPENDENCIES = libgpg-error LIBKSBA_CONF_OPTS = --with-gpg-error-prefix=$(STAGING_DIR)/usr +HOST_LIBKSBA_DEPENDENCIES = host-libgpg-error +HOST_LIBKSBA_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. LIBKSBA_CONF_ENV += GPGRT_CONFIG=$(STAGING_DIR)/usr/bin/gpgrt-config +HOST_LIBKSBA_CONF_ENV += GPGRT_CONFIG=$(HOST_DIR)/bin/gpgrt-config $(eval $(autotools-package)) +$(eval $(host-autotools-package))