summaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
authorDylan Baker <[email protected]>2018-02-28 13:07:57 -0800
committerDylan Baker <[email protected]>2018-03-08 10:14:02 -0800
commit1e9d779331544f8f039978c36430bef1c4efdb2d (patch)
treeda650bf4d824f8cff6779aad35b82430d8e2eaf5 /meson.build
parentf74cf04d3e81728591999b8ca952313178c54824 (diff)
meson: Fix building gallium media libs without egl
v2: - rebase on omx fix Signed-off-by: Dylan Baker <[email protected]> Reviewed-by: Eric Anholt <[email protected]> (v1)
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build4
1 files changed, 3 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 9950ac93b3b..3dc1271f2ac 100644
--- a/meson.build
+++ b/meson.build
@@ -1241,7 +1241,9 @@ if with_platform_x11
endif
dep_glproto = dependency('glproto', version : '>= 1.4.14')
endif
- if with_egl
+ if (with_egl or (
+ with_gallium_vdpau or with_gallium_xvmc or with_gallium_xa or
+ with_gallium_omx != 'disabled'))
dep_xcb_xfixes = dependency('xcb-xfixes')
endif
endif