meson: Fix shm librt dep check on macOS, iOS, and *BSD
authorNirbheek Chauhan <nirbheek@centricular.com>
Wed, 15 Aug 2018 14:04:31 +0000 (19:34 +0530)
committerNirbheek Chauhan <nirbheek@centricular.com>
Wed, 15 Aug 2018 14:04:56 +0000 (19:34 +0530)
sys/shm/meson.build

index 6f573cf..a64d7a6 100644 (file)
@@ -11,7 +11,7 @@ if get_option('shm').disabled()
 endif
 
 shm_deps = []
-if ['osx', 'bsd'].contains(host_system)
+if host_system == 'darwin' or host_system.contains('bsd')
   rt_dep = []
   shm_enabled = true
 else