commit | 9133e48f2a6fa9deccfe02798dcb2f2abd26ed9e | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Mar 04 10:19:36 2020 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Wed Mar 04 12:04:07 2020 +0100 |
tree | 797d1bfc08fcbbc0e1f6cab7ccbfebfb6a1777b5 | |
parent | a91b7946bdd69fd837085f67f085565317efb1b1 [diff] |
BUILD: tools: unbreak resolve_sym_name() on non-GNU platforms resolve_sym_name() doesn't build when USE_DL is set on non-GNU platforms because "Elf(W)" isn't defined. Since it's only used for dladdr1(), let's refactor all this so that we can completely ifdef out that part on other platforms. Now we have a separate function to perform the call depending on the platform and it only returns the size when available.