BUILD: make dladdr1 depend on glibc version and not __USE_GNU
authorWilly Tarreau <w@1wt.eu>
Tue, 10 Mar 2020 06:51:48 +0000 (07:51 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Fri, 12 Jun 2020 12:43:09 +0000 (14:43 +0200)
commit7de02b42e60c5d2c334d1759090f31ba346736ee
treee37cd5945469454335faf68703f8de40b1146e47
parent6ed341d13d3fef620f59e7dcdf41e17db0e01061
BUILD: make dladdr1 depend on glibc version and not __USE_GNU

Technically speaking the call was implemented in glibc 2.3 so we must
rely on this and not on __USE_GNU which is an internal define of glibc
to track use of GNU_SOURCE.

(cherry picked from commit 62af9c83f9ed2b25e0061798e29e3cccfce5fbdc)
Signed-off-by: William Lallemand <wlallemand@haproxy.org>
src/standard.c