Explorar el Código

libxslt: use libgcrypt-config from STAGING_DIR

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

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Arnout Vandecappelle (Essensium/Mind) hace 13 años
padre
commit
e388ac5903
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      package/libxslt/libxslt.mk

+ 1 - 0
package/libxslt/libxslt.mk

@@ -16,6 +16,7 @@ LIBXSLT_DEPENDENCIES = libxml2
 # If we have enabled libgcrypt then use it, else disable crypto support.
 # If we have enabled libgcrypt then use it, else disable crypto support.
 ifeq ($(BR2_PACKAGE_LIBGCRYPT),y)
 ifeq ($(BR2_PACKAGE_LIBGCRYPT),y)
 LIBXSLT_DEPENDENCIES += libgcrypt
 LIBXSLT_DEPENDENCIES += libgcrypt
+LIBXSLT_CONF_ENV += LIBGCRYPT_CONFIG=$(STAGING_DIR)/usr/bin/libgcrypt-config
 else
 else
 LIBXSLT_CONF_OPT += --without-crypto
 LIBXSLT_CONF_OPT += --without-crypto
 endif
 endif