summary refs log tree commit diff stats
path: root/scripts/ninjatool.py
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2020-08-26 08:22:58 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2020-08-27 18:52:30 +0200
commitb7612f45da9ea3ff3488a34f2ffd39d0d94713fb (patch)
tree6f26a9ca4db19e6342bc62553f1ab33561479b90 /scripts/ninjatool.py
parentfb648e9cacf4209ddaa8ee67d1a87a9b78a001c6 (diff)
downloadfocaccia-qemu-b7612f45da9ea3ff3488a34f2ffd39d0d94713fb.tar.gz
focaccia-qemu-b7612f45da9ea3ff3488a34f2ffd39d0d94713fb.zip
meson: move pixman detection to meson
When pixman is not installed (or too old), but virglrenderer is available
and "configure" has been run with "--disable-system", the build currently
aborts when trying to compile vhost-user-gpu (since it requires pixman).

Let's skip the build of vhost-user-gpu when pixman is not installed or
too old.  Instead of adding CONFIG_PIXMAN, it is simpler to move the
detection to pixman.

Based on a patch by Thomas Huth. <thuth@redhat.com>

Fixes: 9b52b17ba5 ("configure: Allow to build tools without pixman")
Reported-by: Rafael Kitover <rkitover@gmail.com>
Reported-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/ninjatool.py')
0 files changed, 0 insertions, 0 deletions