diff options
| author | Yao Zhao <yao.zhao@windriver.com> | 2013-05-03 14:28:39 -0400 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2013-05-03 12:26:06 -0700 |
| commit | 22e7b5e92b33e5fe18723083ce69867749839894 (patch) | |
| tree | 09d31b6511da919c3b87d645981d613c7b9271d1 /recipes-extended/libvirt/libvirt_1.0.3.bb | |
| parent | bb8c2c420bca06c67deb05e9f63e101752110759 (diff) | |
| download | meta-virtualization-22e7b5e92b33e5fe18723083ce69867749839894.tar.gz | |
fix libvirt-python build problem
The current libvirt's config.log:
configure:65065: checking for python
configure:65083: found /usr/bin/python
configure:65095: result: /usr/bin/python
configure:65116: checking for python version
configure:65123: result: 2.7
configure:65137: checking for python platform
configure:65144: result: linux2
configure:65170: checking for python script directory
configure:65206: result: ${prefix}/lib/python2.7/dist-packages
configure:65215: checking for python extension module directory
configure:65251: result: ${exec_prefix}/lib/python2.7/dist-packages
so it will use host python which may quite different with target python.
remove python_incdir.patch and inherit pythonnative.
use PACKAGECONFIG instead of EXTRA_OECONF.
enable python in full PACKAGECONFIG.
Signed-off-by: Yao Zhao <yao.zhao@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'recipes-extended/libvirt/libvirt_1.0.3.bb')
| -rw-r--r-- | recipes-extended/libvirt/libvirt_1.0.3.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-extended/libvirt/libvirt_1.0.3.bb b/recipes-extended/libvirt/libvirt_1.0.3.bb index f3419240..88cb0187 100644 --- a/recipes-extended/libvirt/libvirt_1.0.3.bb +++ b/recipes-extended/libvirt/libvirt_1.0.3.bb | |||
| @@ -106,7 +106,7 @@ INITSCRIPT_PARAMS_${PN}-libvirtd = "defaults 72" | |||
| 106 | 106 | ||
| 107 | # full config | 107 | # full config |
| 108 | PACKAGECONFIG ??= "qemu yajl xen libxl xen-inotify uml openvz vmware vbox esx \ | 108 | PACKAGECONFIG ??= "qemu yajl xen libxl xen-inotify uml openvz vmware vbox esx \ |
| 109 | polkit lxc test remote macvtap libvirtd netcf udev" | 109 | polkit lxc test remote macvtap libvirtd netcf udev python" |
| 110 | 110 | ||
| 111 | PACKAGECONFIG[qemu] = "--with-qemu,--without-qemu,qemu" | 111 | PACKAGECONFIG[qemu] = "--with-qemu,--without-qemu,qemu" |
| 112 | PACKAGECONFIG[yajl] = "--with-yajl,--without-yajl,yajl,yajl" | 112 | PACKAGECONFIG[yajl] = "--with-yajl,--without-yajl,yajl,yajl" |
