[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [liblua] Enable Position Independent Code by default.
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Tue, 10 Dec 2019 07:36:10 -0300
> On -fPIC, is it a similar reason? While building a shared library is not directly a goal, the ability to link to a shared library is necessary.
AFAIK, a main program that embeds Lua does not need to be built with
-fPIC to be able to link to a shared library: lua.c has been doing it
forever.