Open leso-kn opened 1 year ago
@leafo I've tested this in the CI runs for luasystem at https://github.com/lunarmodules/luasystem/pull/17 and I confirm this works! Without this patch, the resulting binary can only run pure Lua code (which meant LuaRocks ran fine, but then the C-based packages built by it wouldn't load in the interpreter).
This PR addresses #39 and introduces 2 changes to the windows plain lua build:
luaxx.dll
next tolua.exe
(bin/
) where it can be picked up at runtime by native libraries linked against itlua.exe
againstluaxx.dll
to avoid "multiple lua VMs" errors