meson: Fix shm librt dep check on macOS, iOS, and *BSD

This commit is contained in:
Nirbheek Chauhan 2018-08-15 19:34:31 +05:30
parent 6ff5eb44cb
commit 2a452f2a5d

View file

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