From cff09ffb326237fd2edd848b6911521fe3e3d3fc Mon Sep 17 00:00:00 2001 From: Caleb Maclennan Date: Tue, 26 Jul 2022 23:39:17 +0300 Subject: [PATCH] chore(rockspec): Move recent PR change to proper rockspec (#384) --- luasocket-scm-3.rockspec | 3 ++- rockspecs/luasocket-3.0.0-1.rockspec | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) 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