Skip to content

Instantly share code, notes, and snippets.

@AndreiRudenko
Created March 2, 2018 11:43
Show Gist options
  • Save AndreiRudenko/ce03d16a738e7da7401769eb2783ab71 to your computer and use it in GitHub Desktop.
Save AndreiRudenko/ce03d16a738e7da7401769eb2783ab71 to your computer and use it in GitHub Desktop.
> cd C:\lua-5.3.0
> vcvars32
> cl /MD /O2 /c /DLUA_BUILD_AS_DLL *.c
> ren lua.obj lua.o
> ren luac.obj luac.o
> link /DLL /IMPLIB:lua5.3.0.lib /OUT:lua5.3.0.dll *.obj
> link /OUT:lua.exe lua.o lua5.3.0.lib
> lib /OUT:lua5.3.0-static.lib *.obj
> link /OUT:luac.exe luac.o lua5.3.0-static.lib
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment