mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-24 14:03:29 +08:00
7320e5dd62
Build is broken since bump of libxml2 to version 2.9.11 in commita241dcec41
because libxslt calls the following command "${XML_CONFIG} --libs print" which will return an error code since2a357ab99e
Fixes: - http://autobuild.buildroot.org/results/47ceb8c24c9ead8a450b7fea3266f760d6b77b4f Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Reviewed-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
38 lines
1.1 KiB
Makefile
38 lines
1.1 KiB
Makefile
################################################################################
|
|
#
|
|
# libxslt
|
|
#
|
|
################################################################################
|
|
|
|
LIBXSLT_VERSION = 1.1.34
|
|
LIBXSLT_SITE = http://xmlsoft.org/sources
|
|
LIBXSLT_INSTALL_STAGING = YES
|
|
LIBXSLT_LICENSE = MIT
|
|
LIBXSLT_LICENSE_FILES = COPYING
|
|
LIBXSLT_CPE_ID_VENDOR = xmlsoft
|
|
# We're patching configure.ac
|
|
LIBXSLT_AUTORECONF = YES
|
|
|
|
LIBXSLT_CONF_OPTS = \
|
|
--with-gnu-ld \
|
|
--without-debug \
|
|
--without-python \
|
|
--with-libxml-prefix=$(STAGING_DIR)/usr
|
|
LIBXSLT_CONFIG_SCRIPTS = xslt-config
|
|
LIBXSLT_DEPENDENCIES = host-pkgconf 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_OPTS += --without-crypto
|
|
endif
|
|
|
|
HOST_LIBXSLT_CONF_OPTS = --without-debug --without-python --without-crypto
|
|
|
|
HOST_LIBXSLT_DEPENDENCIES = host-pkgconf host-libxml2
|
|
|
|
$(eval $(autotools-package))
|
|
$(eval $(host-autotools-package))
|