[Buildroot] [PATCH 1/1] Point libxslt to the correct location of libxml2
Ferdinand van Aartsen
ferdinand at ombud.nl
Fri Sep 21 10:19:14 UTC 2018
Currently libxslt configure finds native /usr/bin/xml2-config.
Signed-off-by: Ferdinand van Aartsen <ferdinand at ombud.nl>
---
package/libxslt/libxslt.mk | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/package/libxslt/libxslt.mk b/package/libxslt/libxslt.mk
index 972d5b80d5..fb5d03ab44 100644
--- a/package/libxslt/libxslt.mk
+++ b/package/libxslt/libxslt.mk
@@ -13,7 +13,8 @@ LIBXSLT_LICENSE_FILES = COPYING
LIBXSLT_CONF_OPTS = \
--with-gnu-ld \
--without-debug \
- --without-python
+ --without-python \
+ --with-libxml-prefix=$(STAGING_DIR)/usr
LIBXSLT_CONFIG_SCRIPTS = xslt-config
LIBXSLT_DEPENDENCIES = host-pkgconf libxml2
@@ -25,7 +26,11 @@ else
LIBXSLT_CONF_OPTS += --without-crypto
endif
-HOST_LIBXSLT_CONF_OPTS = --without-debug --without-python --without-crypto
+HOST_LIBXSLT_CONF_OPTS = \
+ --without-debug \
+ --without-python \
+ --without-crypto \
+ --with-libxml-prefix=$(HOST_DIR)/usr
HOST_LIBXSLT_DEPENDENCIES = host-pkgconf host-libxml2
--
2.19.0
More information about the buildroot
mailing list