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
@ -6,11 +6,12 @@ shm_sources = [
|
|||||||
'gstshmsink.c',
|
'gstshmsink.c',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
shm_deps = []
|
||||||
|
shm_enabled = false
|
||||||
if get_option('shm').disabled()
|
if get_option('shm').disabled()
|
||||||
subdir_done()
|
subdir_done()
|
||||||
endif
|
endif
|
||||||
|
|
||||||
shm_deps = []
|
|
||||||
if ['darwin', 'ios'].contains(host_system) or host_system.endswith('bsd')
|
if ['darwin', 'ios'].contains(host_system) or host_system.endswith('bsd')
|
||||||
rt_dep = []
|
rt_dep = []
|
||||||
shm_enabled = true
|
shm_enabled = true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user