Avoid -Wl,--whole-archive

2019-05-16 Thread Tim Rühsen
Hi, at GNU Wget2 we are just splitting a (shared) library into several smaller ones, grouped by functionality. We depend on gnulib and have a single libgnu.a. Each of the shared libraries just need a certain set of functions from libgnu.a. To avoid adding everything from libgnu.a to each of the

Re: Avoid -Wl,--whole-archive

2019-05-16 Thread Bob Friesenhahn
On Thu, 16 May 2019, Tim Rühsen wrote: Hi, at GNU Wget2 we are just splitting a (shared) library into several smaller ones, grouped by functionality. We depend on gnulib and have a single libgnu.a. Each of the shared libraries just need a certain set of functions from libgnu.a. To avoid addin

Re: Avoid -Wl,--whole-archive

2019-05-16 Thread Tim Rühsen
On 5/16/19 5:00 PM, Bob Friesenhahn wrote: > On Thu, 16 May 2019, Tim Rühsen wrote: > >> Hi, >> >> at GNU Wget2 we are just splitting a (shared) library into several >> smaller ones, grouped by functionality. >> >> We depend on gnulib and have a single libgnu.a. Each of the shared >> libraries jus