diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2023-11-22 19:44:13 +0100 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-11-22 19:06:42 +0000 |
commit | e575ec4fc3654387c7358bd3640877ef32628d2c (patch) | |
tree | 2acf8c925d4141c8579a396736a0af2b9550bddf /meson.build | |
parent | 86b498ecc0e6276bb905df57f479d0506b45ba53 (diff) | |
download | mpv-e575ec4fc3654387c7358bd3640877ef32628d2c.tar.bz2 mpv-e575ec4fc3654387c7358bd3640877ef32628d2c.tar.xz |
meson: also expose present_sync for VT-only after a96d04f19d73
$ meson setup --auto-features=disabled -Ddrm=enabled -Degl=enabled -Dgbm=enabled -Degl-drm=enabled /tmp/mpv_build
$ meson compile -C /tmp/mpv_build
[...]
ld: error: undefined symbol: mp_present_initialize
>>> referenced by drm_common.c
>>> libmpv.so.2.2.0.p/video_out_drm_common.c.o:(vo_drm_init)
ld: error: undefined symbol: present_sync_update_values
>>> referenced by drm_common.c
>>> libmpv.so.2.2.0.p/video_out_drm_common.c.o:(drm_pflip_cb)
ld: error: undefined symbol: present_sync_swap
>>> referenced by drm_common.c
>>> libmpv.so.2.2.0.p/video_out_drm_common.c.o:(drm_pflip_cb)
ld: error: undefined symbol: present_sync_get_info
>>> referenced by vo_drm.c
>>> libmpv.so.2.2.0.p/video_out_vo_drm.c.o:(get_vsync)
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build index a3c3430dd4..6fd5afa512 100644 --- a/meson.build +++ b/meson.build @@ -1049,7 +1049,7 @@ if features['xv'] sources += files('video/out/vo_xv.c') endif -if features['wayland'] or features['x11'] +if features['wayland'] or features['x11'] or features['drm'] sources += ('video/out/present_sync.c') endif |