Skip to content

Static linking to vendored Lua #111

@atweiden

Description

@atweiden

This module doesn’t build without Lua development libraries installed on the build host. This is a shortcoming compared to the situation in mlua, where users needn’t have Lua pre-installed for static linking to mlua’s vendored copy of Lua to work.

Does Go support this type of build? Would it take a custom Makefile or similar? I’ve forked golua to ~ioiojo/golua to experiment, but I don’t see how to link my vendored copy of Lua. As an example, see the lua-c-api/zig subdirectory of ~ioiojo/export-anytype: https://git.sr.ht/~ioiojo/export-anytype/tree/master/item/lua-c-api/zig/internal/luautils/luautils.go

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