diff options
author | Greg V <greg@unrelenting.technology> | 2020-04-02 17:11:20 +0300 |
---|---|---|
committer | PulseAudio Marge Bot <pulseaudio-maintainers@lists.freedesktop.org> | 2021-01-18 16:33:52 +0000 |
commit | 42a92548912817162e20992582851a94bea56f62 (patch) | |
tree | a129d3215eef9ff8afb7af8f3f44122aa664a731 | |
parent | ac7f2d96c7fc2d83f4a9fd74724ceaa9a634fe72 (diff) |
build-sys: meson: set HAVE_DLADDR even if it's in libc (FreeBSD), not libdl
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/277>
-rw-r--r-- | meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build index 869178437..38d56bafb 100644 --- a/meson.build +++ b/meson.build @@ -431,7 +431,7 @@ if shm_dep.found() endif dl_dep = cc.find_library('dl', required : false) -if dl_dep.found() +if cc.has_function('dladdr', dependencies : dl_dep) cdata.set('HAVE_DLADDR', 1) endif |