summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Orccon <cfoch.fabian@gmail.com>2021-09-18 14:29:25 +0200
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>2021-09-18 22:13:55 +0000
commit71c4355b1c70f791af64fc32e56fa87834bc0314 (patch)
tree30cf468612be844be6aee44ae8c14da40ea08d7b
parent45409d45589dbd21b476965f638aef57dcad1b5b (diff)
downloadgstreamer-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>
-rw-r--r--sys/shm/meson.build3
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