[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Building Lua 5.3 from Lua.org on FreeBSD
- From: Russell Haley <russ.haley@...>
- Date: Fri, 8 Sep 2017 23:36:01 -0700
On Wed, Aug 2, 2017 at 5:03 PM, Duane Leslie <parakleta@darkreality.org> wrote:
> On 29 Jul 2017, at 02:22, Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br> wrote:
>
>>> Would you be open to considering dlopen()'ing readline? Then you
>>> wouldn't have to worry about it actually being installed, you'd just
>>> detect it at runtime and use it if it's available.
>>
>> Oh, this may open another big can of worms. For instance, which is the
>> full path of the readline.so to use in dlopen?
>>
>> However, this does not solve the problem because lua.c has to call
>> readline and cannot detect this at compiel time.
>>
>> If you could provide working code for your suggestion, I'd like to see it.
>
> Sorry I'm late to the party, was busy with other things. I already build with `dlopen` `readline` on FreeBSD. Patch is attached.
>
> Regards,
>
> Duane.
Thanks for this little gem!