luarocks: fix lua modules building with luajit
authorFrancois Perrad <fperrad@gmail.com>
Sun, 29 Jul 2018 09:44:57 +0000 (11:44 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 5 Aug 2018 10:06:56 +0000 (12:06 +0200)
commitbcccf228145bd8a2863279117810531bb7951ed0
tree9f427e917132a5dfa528d81e9b794d912d1b78db
parent8f4a224f3c7423b82893a0f3ecca96f93253303c
luarocks: fix lua modules building with luajit

currently, when luajit is selected as luainterpreter,
all lua module fails to build with the message:
    Error: Failed finding Lua library. You may need to configure LUA_LIBDIR.

see http://autobuild.buildroot.net/results/66de049c306d7aff66894d53e2f4fa755fd01594

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/luarocks/0001-allow-libluajit-detection.patch [new file with mode: 0644]