aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-devtools
diff options
context:
space:
mode:
authorTim Orling <ticotimo@gmail.com>2015-09-12 12:09:39 -0700
committerMartin Jansa <Martin.Jansa@gmail.com>2015-09-23 15:37:19 +0200
commit46eba139124797d01cb9582087d43813d420b1f7 (patch)
tree8b3c4c31a408f6513141fb22168dbb56ef400614 /recipes-devtools
parentda0f81ec4aa9c676125a48f462f64d555789c6c8 (diff)
downloadmeta-python2-46eba139124797d01cb9582087d43813d420b1f7.tar.gz
python-lxml: fix pkg-config for libxml2 and libxslt
(From meta-openembedded commit: a6423360a175a5e8515c0c6f97d711850dc96c53) Signed-off-by: Tim Orling <TicoTimo@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Tim Orling <ticotimo@gmail.com>
Diffstat (limited to 'recipes-devtools')
-rw-r--r--recipes-devtools/python/python-lxml.inc12
1 files changed, 8 insertions, 4 deletions
diff --git a/recipes-devtools/python/python-lxml.inc b/recipes-devtools/python/python-lxml.inc
index 9d1bfbc..8ca8f41 100644
--- a/recipes-devtools/python/python-lxml.inc
+++ b/recipes-devtools/python/python-lxml.inc
@@ -16,15 +16,19 @@ SRC_URI[sha256sum] = "b3d362bac471172747cda3513238f115cbd6c5f8b8e6319bf6a97a7892
S = "${WORKDIR}/${SRCNAME}-${PV}"
DISTUTILS_BUILD_ARGS += " \
- --with-xslt-config='${STAGING_BINDIR_NATIVE}/pkg-config libxslt' \
- --with-xml2-config='${STAGING_BINDIR_CROSS}/pkg-config libxml2' \
+ --with-xslt-config='pkg-config libxslt' \
+ --with-xml2-config='pkg-config libxml-2.0' \
"
DISTUTILS_INSTALL_ARGS += " \
- --with-xslt-config='${STAGING_BINDIR_NATIVE}/pkg-config libxslt' \
- --with-xml2-config='${STAGING_BINDIR_CROSS}/pkg-config libxml2' \
+ --with-xslt-config='pkg-config libxslt' \
+ --with-xml2-config='pkg-config libxml-2.0' \
"
+do_configure_prepend() {
+ sed -i -e 's/--version/--modversion/' ${B}/setupinfo.py
+}
+
BBCLASSEXTEND = "native nativesdk"
RDEPENDS_${PN} += "libxml2 libxslt ${PYTHON_PN}-compression"