mirror of
https://github.com/pulseaudio/pulseaudio.git
synced 2024-11-27 03:43:52 +08:00
build-sys: meson: check for shm_open even if it's in libc (FreeBSD), not librt
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/277>
This commit is contained in:
parent
4ff664a3eb
commit
6cc1f1d91c
@ -426,7 +426,7 @@ endforeach
|
||||
cap_dep = cc.find_library('cap', required : false)
|
||||
|
||||
shm_dep = cc.find_library('rt', required : false)
|
||||
if shm_dep.found()
|
||||
if cc.has_function('shm_open', dependencies : shm_dep)
|
||||
cdata.set('HAVE_SHM_OPEN', 1)
|
||||
endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user