From 93a8aadc0d2285e1b95ced8f2d691433f97f58b5 Mon Sep 17 00:00:00 2001 From: Mihai Prica Date: Thu, 15 Nov 2012 14:23:39 +0200 Subject: libvirt: updated to work for other hypervisors * the package can now be customized using PACKAGECONFIG * fixed to use target include files for python Signed-off-by: Mihai Prica Signed-off-by: Raymond Danks --- recipes-extended/libvirt/libvirt-python.inc | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'recipes-extended/libvirt/libvirt-python.inc') 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 @@ inherit python-dir # Enable the Python tool support -EXTRA_OECONF += "--with-python=yes" +EXTRA_OECONF += "--with-python=yes --with-python-inc-dir=-I${STAGING_INCDIR}/python${PYTHON_BASEVERSION}" -SRC_URI += " file://oe_PYTHON_INCLUDES.patch" +SRC_URI += " file://python_incdir.patch" DEPENDS += "python python-native" -RDEPENDS_${PN}-python += "python xen-python" +RDEPENDS_${PN}-python += "python" +PACKAGECONFIG_${PN}-python[xen] = ",,,xen-python" PACKAGES += "${PN}-python-dbg ${PN}-python" -FILES_${PN}-python-dbg += "${libdir}/${PYTHON_DIR}/site-packages/.debug/" -FILES_${PN}-python += "${libdir}/${PYTHON_DIR}/site-packages" +FILES_${PN}-python-dbg += "${libdir}/${PYTHON_DIR}/dist-packages/.debug/" +FILES_${PN}-python += "${libdir}/${PYTHON_DIR}/dist-packages" -- cgit v1.2.3-54-g00ecf