libxslt: use libgcrypt-config from STAGING_DIR
authorArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Wed, 11 Jul 2012 09:50:10 +0000 (11:50 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 13 Jul 2012 19:56:03 +0000 (21:56 +0200)
Otherwise, if the host has a libgcrypt-config, that one will be used.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/libxslt/libxslt.mk

index 15b6e6aa9b6856fef96562d52b7531b1a1a08ac0..a40a8a97f15a7c6f8f6b6d56b68d981611bba24f 100644 (file)
@@ -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