mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
sys: shm: Define shm_enable and shm_deps before escape meson subdir
Fixes meson configure in tests if the shm plugin is disabled Fixes #1664 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2534>
This commit is contained in:
parent
45409d4558
commit
71c4355b1c
1 changed files with 2 additions and 1 deletions
|
@ -6,11 +6,12 @@ shm_sources = [
|
|||
'gstshmsink.c',
|
||||
]
|
||||
|
||||
shm_deps = []
|
||||
shm_enabled = false
|
||||
if get_option('shm').disabled()
|
||||
subdir_done()
|
||||
endif
|
||||
|
||||
shm_deps = []
|
||||
if ['darwin', 'ios'].contains(host_system) or host_system.endswith('bsd')
|
||||
rt_dep = []
|
||||
shm_enabled = true
|
||||
|
|
Loading…
Reference in a new issue