mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04: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
1 changed files with 1 additions and 1 deletions
|
|
@ -426,7 +426,7 @@ endforeach
|
||||||
cap_dep = cc.find_library('cap', required : false)
|
cap_dep = cc.find_library('cap', required : false)
|
||||||
|
|
||||||
shm_dep = cc.find_library('rt', 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)
|
cdata.set('HAVE_SHM_OPEN', 1)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue