2015-07-16 21:04 GMT+02:00 Vincent Bernat <ber...@luffy.cx>:
>  ❦ 13 juillet 2015 19:58 +0200, Vincent Bernat <ber...@luffy.cx> :
>
>> 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.
>
>
>
> --
> Keep it right when you make it faster.
>             - The Elements of Programming Style (Kernighan & Plauger)
>


Thanks Vincent,

I can confirm this fixes the issue.



Best Regards,

---------------
Bjoern

Reply via email to