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(