mirror of
https://github.com/lunarmodules/luasocket.git
synced 2024-12-25 12:08:21 +01:00
chore(rockspec): Move recent PR change to proper rockspec (#384)
This commit is contained in:
parent
38c7b5161b
commit
cff09ffb32
@ -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
|
||||||
|
@ -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,7 +113,6 @@ 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