From 71c4355b1c70f791af64fc32e56fa87834bc0314 Mon Sep 17 00:00:00 2001 From: Fabian Orccon Date: Sat, 18 Sep 2021 14:29:25 +0200 Subject: 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: --- sys/shm/meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.1