From 49449dfa4123d292096026ce206c320903b8beed Mon Sep 17 00:00:00 2001 From: Thomas Klausner Date: Mon, 8 Nov 2021 20:18:51 +0100 Subject: [PATCH] shm: NetBSD build fix shm_unlink() and friends live in librt on NetBSD. Adapt build system. Part-of: --- subprojects/gst-plugins-bad/sys/shm/meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/subprojects/gst-plugins-bad/sys/shm/meson.build b/subprojects/gst-plugins-bad/sys/shm/meson.build index 7618a67780..6c6493e8d1 100644 --- a/subprojects/gst-plugins-bad/sys/shm/meson.build +++ b/subprojects/gst-plugins-bad/sys/shm/meson.build @@ -12,7 +12,8 @@ if get_option('shm').disabled() subdir_done() endif -if ['darwin', 'ios'].contains(host_system) or host_system.endswith('bsd') +# NetBSD has shm_* in librt +if ['darwin', 'ios', 'freebsd', 'openbsd'].contains(host_system) rt_dep = [] shm_enabled = true else