On 2019/02/14 10:08, cdr....@gmail.com wrote:
> I'm thinking that samba isn't the issue here (apart from its need
> for a gazillion libraries). I can reproduce the problem with a
> simple program that needlessly links in all the samba required libs.
> Although, perhaps the use of --as-needed is not correct.

as-needed *is* helping though - try it without -Wl,--as-needed and
your time will probably double.

Reply via email to