[Buildroot] [git commit] libxslt: use libgcrypt-config from STAGING_DIR

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri Jul 13 19:56:03 UTC 2012


commit: http://git.buildroot.net/buildroot/commit/?id=e388ac59039a9f5892b1afc7333a827d18ad0f68
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Otherwise, if the host has a libgcrypt-config, that one will be used.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
---
 package/libxslt/libxslt.mk |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/package/libxslt/libxslt.mk b/package/libxslt/libxslt.mk
index 15b6e6a..a40a8a9 100644
--- a/package/libxslt/libxslt.mk
+++ b/package/libxslt/libxslt.mk
@@ -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


More information about the buildroot mailing list