]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: compat: detect support for dl_iterate_phdr()
authorWilly Tarreau <w@1wt.eu>
Tue, 28 Dec 2021 14:13:12 +0000 (15:13 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 28 Dec 2021 15:59:00 +0000 (16:59 +0100)
commit3f3a56c9b07175f342f30c6271df24f783c892c6
treed125f39d3b7c00dc11472fbb911428304643a24f
parent6c9f7faa62a00a4d028704d7b11e290c83f8a49d
MINOR: compat: detect support for dl_iterate_phdr()

We'll use this glibc function to dump loaded libs. It's been
available since glibc-2.2.4, and as it requires dlpi headers defined
in link.h, it implicitly relies on dlfcn, thus we condition it to
USE_DL. Other operating systems or libc might have different
dependencies so let's stick to the bare minimum for now.
include/haproxy/compat.h