mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
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:
parent
207c4cabde
commit
51fecacd46
2 changed files with 4 additions and 1 deletions
|
|
@ -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')
|
||||
|
|
|
|||
|
|
@ -201,7 +201,7 @@ libpulsecommon = shared_library('pulsecommon-' + pa_version_major_minor,
|
|||
dependencies : [
|
||||
libm_dep, thread_dep, dl_dep, shm_dep, iconv_dep, sndfile_dep, dbus_dep,
|
||||
x11_dep, libsystemd_dep, glib_dep, gtk_dep, asyncns_dep, libintl_dep,
|
||||
platform_dep, platform_socket_dep,
|
||||
platform_dep, platform_socket_dep, execinfo_dep,
|
||||
],
|
||||
implicit_include_directories : false)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue