Otherwise, if the host has a libgcrypt-config, that one will be used. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
@@ -16,6 +16,7 @@ LIBXSLT_DEPENDENCIES = libxml2
# If we have enabled libgcrypt then use it, else disable crypto support.
ifeq ($(BR2_PACKAGE_LIBGCRYPT),y)
LIBXSLT_DEPENDENCIES += libgcrypt
+LIBXSLT_CONF_ENV += LIBGCRYPT_CONFIG=$(STAGING_DIR)/usr/bin/libgcrypt-config
else
LIBXSLT_CONF_OPT += --without-crypto
endif