build-sys: meson: add execinfo dependency for FreeBSD

For 'backtrace' and related symbols

Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/277>
This commit is contained in:
Greg V 2020-04-02 17:34:32 +03:00 committed by PulseAudio Marge Bot
parent 207c4cabde
commit 51fecacd46
2 changed files with 4 additions and 1 deletions

View file

@ -457,6 +457,9 @@ size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, si
endif
endif
# Used for backtraces on BSD
execinfo_dep = cc.find_library('execinfo', required : false)
# Atomic operations
if get_option('atomic-arm-memory-barrier')