meson: Don't compile pipe loader with dri support when not using dri
authorDylan Baker <dylan@pnwbakers.com>
Mon, 17 Sep 2018 15:56:51 +0000 (08:56 -0700)
committerDylan Baker <dylan@pnwbakers.com>
Fri, 21 Sep 2018 17:03:15 +0000 (10:03 -0700)
commit5dcb77e491c9416b83f568d2fda0281749ce26e2
treeb75d6721ff751e945732c0f4219f28a9f92e78bf
parentfe3f13cc5a8b70dfb27f8b26c059272e251da390
meson: Don't compile pipe loader with dri support when not using dri

Corrects building glx as gallium-xlib without any dri targets.

v2: - fix ugly formatting

Fixes: 66c94b9313a697ce8f2b222f4ba353035e4b8726
       ("meson: build gallium winsys for dri, null, and wrapper")

Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
src/gallium/auxiliary/pipe-loader/meson.build