diff options
Diffstat (limited to 'recipes-extended/libvirt/libvirt-python.inc')
-rw-r--r-- | recipes-extended/libvirt/libvirt-python.inc | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/recipes-extended/libvirt/libvirt-python.inc b/recipes-extended/libvirt/libvirt-python.inc index 0b01833c..49d15fb3 100644 --- a/recipes-extended/libvirt/libvirt-python.inc +++ b/recipes-extended/libvirt/libvirt-python.inc | |||
@@ -1,13 +1,14 @@ | |||
1 | inherit python-dir | 1 | inherit python-dir |
2 | 2 | ||
3 | # Enable the Python tool support | 3 | # Enable the Python tool support |
4 | EXTRA_OECONF += "--with-python=yes" | 4 | EXTRA_OECONF += "--with-python=yes --with-python-inc-dir=-I${STAGING_INCDIR}/python${PYTHON_BASEVERSION}" |
5 | 5 | ||
6 | SRC_URI += " file://oe_PYTHON_INCLUDES.patch" | 6 | SRC_URI += " file://python_incdir.patch" |
7 | 7 | ||
8 | DEPENDS += "python python-native" | 8 | DEPENDS += "python python-native" |
9 | RDEPENDS_${PN}-python += "python xen-python" | 9 | RDEPENDS_${PN}-python += "python" |
10 | PACKAGECONFIG_${PN}-python[xen] = ",,,xen-python" | ||
10 | 11 | ||
11 | PACKAGES += "${PN}-python-dbg ${PN}-python" | 12 | PACKAGES += "${PN}-python-dbg ${PN}-python" |
12 | FILES_${PN}-python-dbg += "${libdir}/${PYTHON_DIR}/site-packages/.debug/" | 13 | FILES_${PN}-python-dbg += "${libdir}/${PYTHON_DIR}/dist-packages/.debug/" |
13 | FILES_${PN}-python += "${libdir}/${PYTHON_DIR}/site-packages" | 14 | FILES_${PN}-python += "${libdir}/${PYTHON_DIR}/dist-packages" |