Skip to content

luzer_luajit_friendly_test fails with custom LuaJIT #80

@Buristan

Description

@Buristan

If one builds luzer like the following (non-system LuaJIT):

CC=clang cmake -DENABLE_TESTING=ON -DLUAJIT_FRIENDLY_MODE=ON -DLUA_EXECUTABLE="$HOME/LuaJIT/src/luajit" -DLUA_INCLUDE_DIR="$HOME/LuaJIT/src/" -DLUA_LIBRARIES="$HOME/LuaJIT/src/libluajit.so" -DCMAKE_BUILD_TYPE=Debug -DENABLE_LUAJIT=ON -S . -B build

Then the luzer_luajit_friendly_test fails due to hardcoded LUA_PATH:

 /home/burii/LuaJIT/src/luajit: unknown luaJIT command or jit.* modules not installed

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions