From 38c7b5161b0c174050a0869a556e39bc499b1fa0 Mon Sep 17 00:00:00 2001 From: goldenstein64 Date: Tue, 26 Jul 2022 16:24:25 -0400 Subject: [PATCH] fix(rockspec): Fixup Windows (mingw32) builds (#383) --- rockspecs/luasocket-3.0.0-1.rockspec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rockspecs/luasocket-3.0.0-1.rockspec b/rockspecs/luasocket-3.0.0-1.rockspec index 4cf4acf..d64731a 100644 --- a/rockspecs/luasocket-3.0.0-1.rockspec +++ b/rockspecs/luasocket-3.0.0-1.rockspec @@ -34,7 +34,7 @@ local function make_plat(plat) }, mingw32 = { "LUASOCKET_DEBUG", - "LUASOCKET_INET_PTON", + -- "LUASOCKET_INET_PTON", "WINVER=0x0501" } } @@ -113,6 +113,7 @@ local function make_plat(plat) then modules["socket.core"].sources[#modules["socket.core"].sources+1] = "src/wsocket.c" modules["socket.core"].libraries = { "ws2_32" } + modules["socket.core"].libdirs = {} end return { modules = modules } end