[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: Mon, 9 Dec 2019 08:33:58 -0300
> I maintain a fork of lua to patch the makefile to include -fPIC, so I could link liblua.a to a shared library. I was wondering if there was a reason this wasn’t default, along with why only the executable(s) and the static lua was built by default? It seems like a limitation, as it prevents using lua in shared libraries, only in static libraries, or top level executables.
See http://lua-users.org/lists/lua-l/2014-05/msg00381.html