diff options
author | goldenstein64 <jamesramsauer@gmail.com> | 2022-07-26 16:24:25 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-26 23:24:25 +0300 |
commit | 38c7b5161b0c174050a0869a556e39bc499b1fa0 (patch) | |
tree | 616edb2bf851f8b81d52c483d3c116c578853957 | |
parent | 1d61853ab84f0724502205f45849c2347d6a49ac (diff) | |
download | luasocket-38c7b5161b0c174050a0869a556e39bc499b1fa0.tar.gz luasocket-38c7b5161b0c174050a0869a556e39bc499b1fa0.tar.bz2 luasocket-38c7b5161b0c174050a0869a556e39bc499b1fa0.zip |
fix(rockspec): Fixup Windows (mingw32) builds (#383)
-rw-r--r-- | rockspecs/luasocket-3.0.0-1.rockspec | 3 |
1 files changed, 2 insertions, 1 deletions
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) | |||
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 |