[Buildroot] [pkg-luarocks infra V4 02/10] luajit: allow to build Lua extensions without lua
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Fri Jan 10 02:34:58 UTC 2014
Dear François Perrad,
On Tue, 7 Jan 2014 15:11:16 +0100, François Perrad wrote:
> A Lua native module, like LuaFileSystem, needs the Lua includes at compile time.
> Both lua package and luajit package supply these files.
> The lua package installs them in /usr/include, and luafilesystem, like
> other Lua modules, expects them at this place.
> In LuaJIT upstream, these files are installed
> /usr/include/luajit-2.0.2 in order to not override the Lua ones if
> they are already installed.
> Before the introduction of virtual package luainterpreter,
> luafilesystem depends on lua package.
> Now, it depends on luainterpreter. When luainterpreter is supplied by
> luajit, the include from LuaJIT must be installed in the same place as
> Lua one's.
Ok, now it makes a lot of sense.
> So, the patch luajit-05-install-inc.patch contains the comment :
> "Install includes like lua's ones"
I think your patch description would have been immensely better if you
had included an explanation like you did above!
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list