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.