Open Shados opened 3 months ago
Currently, in the CMakeLists.txt file, only the library file named libluajit.a
or libluajit.so
will be matched and stored in the variable LUA_LIBRARIES
for build linking. You can try renaming or creating a symbolic link from libluajit-5.1.a
to libluajit.a
.
You can try renaming or creating a symbolic link from
libluajit-5.1.a
tolibluajit.a
.
Hmmm. It looks like LuaJIT started including the ABI version in the .so
name 10 months ago when it officially swapped to being rolling-release. I guess you'll need to update your cmake setup for that going forward...?
I've been working on a Nix package for Yuescript's Lua module. What I have works fine when built against PUC-Rio Lua 5.1 or above, but fails when I attempt to build against LuaJIT:
Based on
CMakeLists.txt
it looks like it should be looking for the library directory in${LUA_INCDIR}/../lib
${LUA_INCDIR}/../../lib
, and the latter exists and has the library file: