summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmil Velikov <emil.velikov@collabora.com>2018-12-13 03:54:03 +0000
committerJuan A. Suarez Romero <jasuarez@igalia.com>2018-12-25 17:58:06 +0100
commit1af31b1bac7e6f6ffc6f4e8c1d12f8bc89ef0a1f (patch)
tree19d6c8480351a47cef8e171f597a0bc308248ccb
parentf0249666266575f69ab47ce6d6da1ebd28ea93e3 (diff)
meson: don't require glx/egl/gbm with gallium drivers
The gallium drivers do not require a DRI loader. Drop the artificial and unnecessary restriction. Fixes: af9d276134d ("meson: build libmesa_gallium") Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Dylan Baker <dylan@pnwbakers.com> (cherry picked from commit 9d10581897ef7cfa0f6c392e2048cc04357281b9)
-rw-r--r--meson.build6
1 files changed, 3 insertions, 3 deletions
diff --git a/meson.build b/meson.build
index b0de22106b5..c44eaad391b 100644
--- a/meson.build
+++ b/meson.build
@@ -379,9 +379,9 @@ endif
if with_any_vk and (with_platform_x11 and not with_dri3)
error('Vulkan drivers require dri3 for X11 support')
endif
-if with_dri or with_gallium
- if with_glx == 'disabled' and not with_egl and not with_platform_haiku
- error('building dri or gallium drivers require at least one window system')
+if with_dri
+ if with_glx == 'disabled' and not with_egl and not with_gbm
+ error('building dri drivers require at least one windowing system')
endif
endif