❦ 23 juillet 2015 08:41 +0200, Willy Tarreau <w...@1wt.eu> :

>> > I suppose that either -ldl could be added to OPTIONS_LDFLAGS append,
>> > like this is done for -lm. Or USE_DL section could be moved towards the
>> > end. I think the first solution is better since libdl seems to be a
>> > dependency of lua.
>> >
>> > Note that this is not an Ubuntu-specific but they enforce --as-needed by
>> > default directly in the linker.
>> 
>> Here is a proposition. An alternative would be to move the ifneq
>> ($(USE_DL),) section at the end of the Makefile.
>
> Thierry just forwarded me this e-mail off-list. I've quickly read the
> thread. Should I merge it in the end ?

It fixes the problem, but it's only a proposal. I think that's the
current best option, so unless you don't like it, merge it. :)
-- 
Write clearly - don't sacrifice clarity for "efficiency".
            - The Elements of Programming Style (Kernighan & Plauger)

Reply via email to