[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Use -fPIC when compiling lua
- From: Rob Kendrick <rjek@...>
- Date: Tue, 16 Dec 2014 09:21:43 +0000
On Tue, Dec 16, 2014 at 09:54:34AM +0200, Aki Tuomi wrote:
> Please modify your Makefile for lua to use -fPIC. This is required to link
> static LUA library to any other stuff that wants to build position
> independent code.
The shipped build system does not build shared libraries; the
recommendation is always to statically link. It's left up to packagers
to change the build system to produce shared libraries and such if they
I suspect the recommendation in your case will be to simply add the Lua
sources to your own project.