Re: [PATCH] BUG/MEDIUM: tools: fix build with static only toolchains

2020-07-24 Thread Baruch Siach
Hi Willy, On Fri, Jul 24 2020, Willy Tarreau wrote: > On Fri, Jul 24, 2020 at 07:40:01AM +0200, Willy Tarreau wrote: >> On Fri, Jul 24, 2020 at 07:52:20AM +0300, Baruch Siach wrote: >> > uClibc toolchains built with no dynamic library support don't provide >> > the

[PATCH] BUG/MEDIUM: tools: fix build with static only toolchains

2020-07-23 Thread Baruch Siach
uClibc toolchains built with no dynamic library support don't provide the dlfcn.h header. That leads to build failure: CC src/tools.o src/tools.c:15:10: fatal error: dlfcn.h: No such file or directory #include ^ Enable dladdr only when USE_DL is defined. --- Please Cc