From c5b258b490f55c19a1cf6060bc7cf796d64f71e9 Mon Sep 17 00:00:00 2001 From: Dudemanguy Date: Thu, 3 Nov 2022 17:29:48 -0500 Subject: meson: move dmabuf-wayland specific files under the right check This doesn't need to be under the generic wayland check, but the dmabuf-wayland one. Matches the waf build. --- meson.build | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meson.build b/meson.build index 2de7314f33..d1c5202dab 100644 --- a/meson.build +++ b/meson.build @@ -995,9 +995,6 @@ features += {'wayland': wayland_deps and wayland['header'] and wayland['scanner' if features['wayland'] subdir(join_paths('generated', 'wayland')) - sources += files('video/out/wldmabuf/context_wldmabuf.c') - sources += files('video/out/wldmabuf/ra_wldmabuf.c') - sources += files('video/out/wlbuf_pool.c') endif features += {'memfd_create': false} @@ -1405,6 +1402,9 @@ features += {'dmabuf-wayland' : features['wayland'] and features['memfd_create'] if features['dmabuf-wayland'] sources += files('video/out/vo_dmabuf_wayland.c') sources += files('video/out/hwdec/dmabuf_interop_wl.c') + sources += files('video/out/wldmabuf/context_wldmabuf.c') + sources += files('video/out/wldmabuf/ra_wldmabuf.c') + sources += files('video/out/wlbuf_pool.c') endif vdpau_opt = get_option('vdpau').require( -- cgit v1.2.3