I have a Makefile for building in Linux but the instructions for
building in WIndows are comments in the INSTALL file that I have taken
on trust:
/* on Windows, define the symbols 'LUA_BUILD_AS_DLL' and 'LUA_LIB' and
* compile and link with stub library lua52.lib (for lua52.dll)
* generating xtable.dll. If necessary, generate lua52.lib and lua52.dll by
* compiling Lua sources with 'LUA_BUILD_AS_DLL' defined.
*/
I have no idea how to manipulate those into a form that will make
"luarocks install" work on a Windows system.