mirror of
https://github.com/lunarmodules/luasocket.git
synced 2024-12-26 04:28:20 +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 = {
|
mingw32 = {
|
||||||
"LUASOCKET_DEBUG",
|
"LUASOCKET_DEBUG",
|
||||||
"LUASOCKET_INET_PTON",
|
-- "LUASOCKET_INET_PTON",
|
||||||
"WINVER=0x0501"
|
"WINVER=0x0501"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -113,6 +113,7 @@ local function make_plat(plat)
|
|||||||
then
|
then
|
||||||
modules["socket.core"].sources[#modules["socket.core"].sources+1] = "src/wsocket.c"
|
modules["socket.core"].sources[#modules["socket.core"].sources+1] = "src/wsocket.c"
|
||||||
modules["socket.core"].libraries = { "ws2_32" }
|
modules["socket.core"].libraries = { "ws2_32" }
|
||||||
|
modules["socket.core"].libdirs = {}
|
||||||
end
|
end
|
||||||
return { modules = modules }
|
return { modules = modules }
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user