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
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
Makefileor 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 thelua-c-api/zigsubdirectory of ~ioiojo/export-anytype: https://git.sr.ht/~ioiojo/export-anytype/tree/master/item/lua-c-api/zig/internal/luautils/luautils.go