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