diff options
| author | Caleb Maclennan <caleb@alerque.com> | 2022-07-26 23:39:17 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-26 23:39:17 +0300 |
| commit | cff09ffb326237fd2edd848b6911521fe3e3d3fc (patch) | |
| tree | 34f1679b59386e16bdada21d54b8e6413928801a | |
| parent | 38c7b5161b0c174050a0869a556e39bc499b1fa0 (diff) | |
| download | luasocket-cff09ffb326237fd2edd848b6911521fe3e3d3fc.tar.gz luasocket-cff09ffb326237fd2edd848b6911521fe3e3d3fc.tar.bz2 luasocket-cff09ffb326237fd2edd848b6911521fe3e3d3fc.zip | |
chore(rockspec): Move recent PR change to proper rockspec (#384)
| -rw-r--r-- | luasocket-scm-3.rockspec | 3 | ||||
| -rw-r--r-- | 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) | |||
| 34 | }, | 34 | }, |
| 35 | mingw32 = { | 35 | mingw32 = { |
| 36 | "LUASOCKET_DEBUG", | 36 | "LUASOCKET_DEBUG", |
| 37 | "LUASOCKET_INET_PTON", | 37 | -- "LUASOCKET_INET_PTON", |
| 38 | "WINVER=0x0501" | 38 | "WINVER=0x0501" |
| 39 | } | 39 | } |
| 40 | } | 40 | } |
| @@ -113,6 +113,7 @@ local function make_plat(plat) | |||
| 113 | then | 113 | then |
| 114 | modules["socket.core"].sources[#modules["socket.core"].sources+1] = "src/wsocket.c" | 114 | modules["socket.core"].sources[#modules["socket.core"].sources+1] = "src/wsocket.c" |
| 115 | modules["socket.core"].libraries = { "ws2_32" } | 115 | modules["socket.core"].libraries = { "ws2_32" } |
| 116 | modules["socket.core"].libdirs = {} | ||
| 116 | end | 117 | end |
| 117 | return { modules = modules } | 118 | return { modules = modules } |
| 118 | end | 119 | 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) | |||
| 34 | }, | 34 | }, |
| 35 | mingw32 = { | 35 | mingw32 = { |
| 36 | "LUASOCKET_DEBUG", | 36 | "LUASOCKET_DEBUG", |
| 37 | -- "LUASOCKET_INET_PTON", | 37 | "LUASOCKET_INET_PTON", |
| 38 | "WINVER=0x0501" | 38 | "WINVER=0x0501" |
| 39 | } | 39 | } |
| 40 | } | 40 | } |
| @@ -113,7 +113,6 @@ local function make_plat(plat) | |||
| 113 | then | 113 | then |
| 114 | modules["socket.core"].sources[#modules["socket.core"].sources+1] = "src/wsocket.c" | 114 | modules["socket.core"].sources[#modules["socket.core"].sources+1] = "src/wsocket.c" |
| 115 | modules["socket.core"].libraries = { "ws2_32" } | 115 | modules["socket.core"].libraries = { "ws2_32" } |
| 116 | modules["socket.core"].libdirs = {} | ||
| 117 | end | 116 | end |
| 118 | return { modules = modules } | 117 | return { modules = modules } |
| 119 | end | 118 | end |
