diff options
Diffstat (limited to 'recipes-extended/libvirt/libvirt-python.inc')
-rw-r--r-- | recipes-extended/libvirt/libvirt-python.inc | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/recipes-extended/libvirt/libvirt-python.inc b/recipes-extended/libvirt/libvirt-python.inc index 297e90c8..d4cc5f35 100644 --- a/recipes-extended/libvirt/libvirt-python.inc +++ b/recipes-extended/libvirt/libvirt-python.inc | |||
@@ -1,14 +1,17 @@ | |||
1 | inherit python-dir | 1 | inherit pythonnative python-dir |
2 | 2 | ||
3 | # Enable the Python tool support | 3 | export STAGING_INCDIR |
4 | EXTRA_OECONF += "--with-python=yes --with-python-inc-dir=-I${STAGING_INCDIR}/python${PYTHON_BASEVERSION}" | 4 | export STAGING_LIBDIR |
5 | export BUILD_SYS | ||
6 | export HOST_SYS | ||
5 | 7 | ||
6 | SRC_URI += " file://python_incdir.patch" | 8 | PACKAGECONFIG += "python" |
7 | 9 | PACKAGECONFIG[python] = "--with-python,--without-python,python," | |
8 | DEPENDS += "python python-native" | ||
9 | RDEPENDS_${PN}-python += "python" | 10 | RDEPENDS_${PN}-python += "python" |
10 | PACKAGECONFIG_${PN}-python[xen] = ",,,xen-python" | 11 | PACKAGECONFIG_${PN}-python[xen] = ",,,xen-python" |
11 | 12 | ||
12 | PACKAGES += "${PN}-python-dbg ${PN}-python" | 13 | PACKAGES += "${PN}-python-staticdev ${PN}-python-dev ${PN}-python-dbg ${PN}-python" |
13 | FILES_${PN}-python-dbg += "${libdir}/${PYTHON_DIR}/site-packages/.debug/" | 14 | FILES_${PN}-python-staticdev += "${PYTHON_SITEPACKAGES_DIR}/*.a" |
14 | FILES_${PN}-python += "${libdir}/${PYTHON_DIR}/site-packages" | 15 | FILES_${PN}-python-dev += "${PYTHON_SITEPACKAGES_DIR}/*.la" |
16 | FILES_${PN}-python-dbg += "${PYTHON_SITEPACKAGES_DIR}/.debug/" | ||
17 | FILES_${PN}-python += "${PYTHON_SITEPACKAGES_DIR}" | ||