Skip to content

Commit

Permalink
Update luasocket 5.4 DLL (#31)
Browse files Browse the repository at this point in the history
* update dll

* add readme

* add readme
  • Loading branch information
zig-for authored Apr 13, 2023
1 parent 0ba3416 commit 1a5850e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lua/COMPILING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Compiling luasockets for a new lua release:
1. get luarocks https://github.com/luarocks/luarocks/wiki/Download along with the lua distribution of your choice
2. Get the proper version of the lua lib - for the last release I used "lua-5.4.2_Win64_dll16_lib" at https://sourceforge.net/projects/luabinaries/files/5.4.2/Windows%20Libraries/Dynamic/ - it's likely that the important thing here is choosing the correct lua version and selecting "Dynamic". CRT version shouldn't matter so much.
3. configure luarocks as per their instructions
4. `luarocks install luasocket`
5. The dll you need will likely be at "%APPDATA%\luarocks\lib\lua\5.4\socket\core.dll" - rename it to socket-windows-$LUA_MAJOR-$LUA_MINOR.dll
Binary file modified lua/x64/socket-windows-5-4.dll
Binary file not shown.

0 comments on commit 1a5850e

Please sign in to comment.