[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: UTF-8 patterns in Lua 5.3
- From: Dirk Laurie <dirk.laurie@...>
- Date: Tue, 22 Apr 2014 10:46:22 +0200
2014-04-22 10:04 GMT+02:00 David Demelier <demelier.david@gmail.com>:
>
> On 21/04/2014 16:18, Dirk Laurie wrote:
>>>
>>> there is one bit of utf8 functionality I want in liblua.so
>>
>> Do you mean liblua.a?
>>
> http://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html#AEN49
>
I know. However, at least on Linux, there is no liblua.so.
$ locate liblua.so
$
Instead, liblua.a is statically linked with the host program (e.g. `lua`)
and your modules get the API functions from there. If you write your
own host, you need to include `liblua.a` with your .o files when linking.