Closed KirkMcDonald closed 2 months ago
Unfortunately lua's shared object gets distributed with a variety of different names depending on operating system and distribution. The best I can do here is provide build flags to configure what library is used. In this case what you want is -tags lua53,lluadash
.
Attempting to build against Lua 5.3 in an MSYS2 environment results in the error:
But if I edit
lua.go
to make it link against-llua5.3
instead, then the linker succeeds.Presumably the linker flags are written the way they are for a reason, and there is a different build environment for which they are correct. Is there a better solution than just editing the file to add the dot?