mirror of
https://github.com/lunarmodules/luasocket.git
synced 2024-12-25 12:08:21 +01:00
fix(rockspec): Fixup Windows (mingw32) builds (#383)
This commit is contained in:
parent
1d61853ab8
commit
38c7b5161b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user