summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python-lxml.inc
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
commita6423360a175a5e8515c0c6f97d711850dc96c53 (patch)
tree834e4bb6020d98a3721b4f66d379ae2bc8c2fca7 /meta-python/recipes-devtools/python/python-lxml.inc
parent15b4eabbfb172891b27b7e0974e0a3159e516870 (diff)
downloadmeta-openembedded-a6423360a175a5e8515c0c6f97d711850dc96c53.tar.gz
python-lxml: fix pkg-config for libxml2 and libxslt
Signed-off-by: Tim Orling <TicoTimo@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python-lxml.inc')
-rw-r--r--meta-python/recipes-devtools/python/python-lxml.inc12
1 files changed, 8 insertions, 4 deletions
diff --git a/meta-python/recipes-devtools/python/python-lxml.inc b/meta-python/recipes-devtools/python/python-lxml.inc
index 9d1bfbcdc..8ca8f41a1 100644
--- a/meta-python/recipes-devtools/python/python-lxml.inc
+++ b/meta-python/recipes-devtools/python/python-lxml.inc
@@ -16,15 +16,19 @@ SRC_URI[sha256sum] = "b3d362bac471172747cda3513238f115cbd6c5f8b8e6319bf6a97a7892
16S = "${WORKDIR}/${SRCNAME}-${PV}" 16S = "${WORKDIR}/${SRCNAME}-${PV}"
17 17
18DISTUTILS_BUILD_ARGS += " \ 18DISTUTILS_BUILD_ARGS += " \
19 --with-xslt-config='${STAGING_BINDIR_NATIVE}/pkg-config libxslt' \ 19 --with-xslt-config='pkg-config libxslt' \
20 --with-xml2-config='${STAGING_BINDIR_CROSS}/pkg-config libxml2' \ 20 --with-xml2-config='pkg-config libxml-2.0' \
21" 21"
22 22
23DISTUTILS_INSTALL_ARGS += " \ 23DISTUTILS_INSTALL_ARGS += " \
24 --with-xslt-config='${STAGING_BINDIR_NATIVE}/pkg-config libxslt' \ 24 --with-xslt-config='pkg-config libxslt' \
25 --with-xml2-config='${STAGING_BINDIR_CROSS}/pkg-config libxml2' \ 25 --with-xml2-config='pkg-config libxml-2.0' \
26" 26"
27 27
28do_configure_prepend() {
29 sed -i -e 's/--version/--modversion/' ${B}/setupinfo.py
30}
31
28BBCLASSEXTEND = "native nativesdk" 32BBCLASSEXTEND = "native nativesdk"
29 33
30RDEPENDS_${PN} += "libxml2 libxslt ${PYTHON_PN}-compression" 34RDEPENDS_${PN} += "libxml2 libxslt ${PYTHON_PN}-compression"