Building for Windows with luasocket fails:
lld-link: error: undefined symbol: __declspec(dllimport) send
lld-link: error: undefined symbol: __declspec(dllimport) recv
...
luasocket's rockspec already declares the dependency:
modules["socket.core"].libraries = { "ws2_32" }
luast needs to read this libraries field and pass -lws2_32 to the linker.
Building for Windows with luasocket fails:
luasocket's rockspec already declares the dependency:
luast needs to read this
librariesfield and pass-lws2_32to the linker.