compile unixdgram.c, unixstream.c into unix.so

This commit is contained in:
fregie 2019-01-11 16:04:34 +08:00
parent 288219fd6b
commit 4950294c26

View File

@ -75,7 +75,7 @@ local function make_plat(plat)
modules["socket.core"].libraries = {"network"}
end
modules["socket.unix"] = {
sources = { "src/buffer.c", "src/auxiliar.c", "src/options.c", "src/timeout.c", "src/io.c", "src/usocket.c", "src/unix.c" },
sources = { "src/buffer.c", "src/auxiliar.c", "src/options.c", "src/timeout.c", "src/io.c", "src/usocket.c", "src/unix.c", "src/unixdgram.c", "src/unixstream.c" },
defines = defines[plat],
incdir = "/src"
}