Skip to content

jsregexp Makefile does not link against luajit, only lua (Windows?) #1407

@akioweh

Description

@akioweh

make install_jsregexp fails with linker errors (undefined lua_* symbols) if one has only LuaJIT but not regular Lua installed.
Line 99 in the Makefile appears to hardcode against Lua 5.1: -llua51.

Workaround:

make install_jsregexp LUA_LDLIBS="-lluajit-5.1"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions