diff options
author | Fabian Orccon <cfoch.fabian@gmail.com> | 2021-09-18 14:29:25 +0200 |
---|---|---|
committer | GStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org> | 2021-09-18 22:13:55 +0000 |
commit | 71c4355b1c70f791af64fc32e56fa87834bc0314 (patch) | |
tree | 30cf468612be844be6aee44ae8c14da40ea08d7b /sys/shm/meson.build | |
parent | 45409d45589dbd21b476965f638aef57dcad1b5b (diff) | |
download | gstreamer-plugins-bad-71c4355b1c70f791af64fc32e56fa87834bc0314.tar.gz |
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>
Diffstat (limited to 'sys/shm/meson.build')
-rw-r--r-- | sys/shm/meson.build | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/shm/meson.build b/sys/shm/meson.build index 23883c50d..7618a6778 100644 --- a/sys/shm/meson.build +++ b/sys/shm/meson.build @@ -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 |