summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorGreg V <greg@unrelenting.technology>2020-04-02 17:34:32 +0300
committerPulseAudio Marge Bot <pulseaudio-maintainers@lists.freedesktop.org>2021-01-18 16:33:53 +0000
commit51fecacd4698258a3df2ba9d7326d2fa613174a0 (patch)
treeca777045ca3006c691ece1c7fbd899209baf6055 /meson.build
parent207c4cabdedcb71bb1da2ccaa2cef4c2f063c311 (diff)
build-sys: meson: add execinfo dependency for FreeBSD
For 'backtrace' and related symbols Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/277>
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 2f9106a57..3d3128d2b 100644
--- a/meson.build
+++ b/meson.build
@@ -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')