diff --git a/luasocket-scm-3.rockspec b/luasocket-scm-3.rockspec index 71f335c..1045251 100644 --- a/luasocket-scm-3.rockspec +++ b/luasocket-scm-3.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 diff --git a/rockspecs/luasocket-3.0.0-1.rockspec b/rockspecs/luasocket-3.0.0-1.rockspec index d64731a..4cf4acf 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,7 +113,6 @@ 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