[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Building Lua 5.3 from Lua.org on FreeBSD
- From: Duane Leslie <parakleta@...>
- Date: Thu, 3 Aug 2017 10:03:54 +1000
On 29 Jul 2017, at 02:22, Luiz Henrique de Figueiredo <firstname.lastname@example.org> 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.
Description: Binary data