diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python-lxml.inc')
| -rw-r--r-- | meta-python/recipes-devtools/python/python-lxml.inc | 12 |
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 9d1bfbcdcb..8ca8f41a14 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 | |||
| 16 | S = "${WORKDIR}/${SRCNAME}-${PV}" | 16 | S = "${WORKDIR}/${SRCNAME}-${PV}" |
| 17 | 17 | ||
| 18 | DISTUTILS_BUILD_ARGS += " \ | 18 | DISTUTILS_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 | ||
| 23 | DISTUTILS_INSTALL_ARGS += " \ | 23 | DISTUTILS_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 | ||
| 28 | do_configure_prepend() { | ||
| 29 | sed -i -e 's/--version/--modversion/' ${B}/setupinfo.py | ||
| 30 | } | ||
| 31 | |||
| 28 | BBCLASSEXTEND = "native nativesdk" | 32 | BBCLASSEXTEND = "native nativesdk" |
| 29 | 33 | ||
| 30 | RDEPENDS_${PN} += "libxml2 libxslt ${PYTHON_PN}-compression" | 34 | RDEPENDS_${PN} += "libxml2 libxslt ${PYTHON_PN}-compression" |
