Willy Tarreau 109201fc5c BUILD: tools: rely on __ELF__ not USE_DL to enable use of dladdr()
The approach was wrong. USE_DL is for the makefile to know if it's required
to append -ldl at link time. Some platforms do not need it (and in fact do
not have it) yet they have a working dladdr(). The real condition is related
to ELF. Given that due to Lua, all platforms that require -ldl already have
USE_DL set, let's replace USE_DL with __ELF__ here and consider that dladdr
is always needed on ELF, which basically is already the case.
2020-03-04 12:04:07 +01:00
..
2019-09-08 12:20:13 +02:00
2020-02-28 10:26:29 +01:00
2020-03-03 15:26:10 +01:00
2020-03-03 15:26:10 +01:00
2020-03-04 12:02:27 +01:00