[libvirt] Set python include dir when cross-compiling

Prica, Mihai mihai.prica at intel.com
Wed Dec 5 12:15:23 UTC 2012


Hi,

I've done some work on libvirt integration in the yocto project. The problem is there is no way to tell the configure script which include_dir to use for the python bindings when cross-compiling. It automatically takes the include_dir from the host system, and if there is a difference in architecture between the target and host system, the build will fail.

Is there any easy way of doing this? I saw for example that rpm has two extra options in the configure file, --with-python-inc-dir and -with-python-lib-dir exactly for this.

Thanks,
Mihai
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20121205/03c917e4/attachment-0001.htm>


More information about the libvir-list mailing list