diff options
author | Diego Nehab <diego@impa.br> | 2015-08-21 22:31:29 -0300 |
---|---|---|
committer | Diego Nehab <diego@impa.br> | 2015-08-21 22:31:29 -0300 |
commit | b211838648c1cb092e96e3ae721932a212808d96 (patch) | |
tree | d83c909c5eaed8832743b1ce003ca8648a244121 /luasocket-scm-0.rockspec | |
parent | 9322eacefd719878ccfbc3220873a2a07af41291 (diff) | |
download | luasocket-b211838648c1cb092e96e3ae721932a212808d96.tar.gz luasocket-b211838648c1cb092e96e3ae721932a212808d96.tar.bz2 luasocket-b211838648c1cb092e96e3ae721932a212808d96.zip |
Fix rockspec and serial.c module.
Diffstat (limited to 'luasocket-scm-0.rockspec')
-rw-r--r-- | luasocket-scm-0.rockspec | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/luasocket-scm-0.rockspec b/luasocket-scm-0.rockspec index f86567b..352a497 100644 --- a/luasocket-scm-0.rockspec +++ b/luasocket-scm-0.rockspec | |||
@@ -50,13 +50,12 @@ local function make_plat(plat) | |||
50 | } | 50 | } |
51 | local modules = { | 51 | local modules = { |
52 | ["socket.core"] = { | 52 | ["socket.core"] = { |
53 | sources = { "src/luasocket.c", "src/timeout.c", "src/buffer.c", "src/io.c", "src/auxiliar.c", | 53 | sources = { "src/luasocket.c", "src/timeout.c", "src/buffer.c", "src/io.c", "src/auxiliar.c", "src/options.c", "src/inet.c", "src/except.c", "src/select.c", "src/tcp.c", "src/udp.c", "src/compat.c" }, |
54 | "src/options.c", "src/inet.c", "src/except.c", "src/select.c", "src/tcp.c", "src/udp.c" }, | ||
55 | defines = defines[plat], | 54 | defines = defines[plat], |
56 | incdir = "/src" | 55 | incdir = "/src" |
57 | }, | 56 | }, |
58 | ["mime.core"] = { | 57 | ["mime.core"] = { |
59 | sources = { "src/mime.c" }, | 58 | sources = { "src/mime.c", "src/compat.c" }, |
60 | defines = defines[plat], | 59 | defines = defines[plat], |
61 | incdir = "/src" | 60 | incdir = "/src" |
62 | }, | 61 | }, |
@@ -73,14 +72,12 @@ local function make_plat(plat) | |||
73 | if plat == "unix" or plat == "macosx" then | 72 | if plat == "unix" or plat == "macosx" then |
74 | modules["socket.core"].sources[#modules["socket.core"].sources+1] = "src/usocket.c" | 73 | modules["socket.core"].sources[#modules["socket.core"].sources+1] = "src/usocket.c" |
75 | modules["socket.unix"] = { | 74 | modules["socket.unix"] = { |
76 | sources = { "src/buffer.c", "src/auxiliar.c", "src/options.c", "src/timeout.c", "src/io.c", | 75 | sources = { "src/buffer.c", "src/auxiliar.c", "src/options.c", "src/timeout.c", "src/io.c", "src/usocket.c", "src/unix.c" }, |
77 | "src/usocket.c", "src/unix.c" }, | ||
78 | defines = defines[plat], | 76 | defines = defines[plat], |
79 | incdir = "/src" | 77 | incdir = "/src" |
80 | } | 78 | } |
81 | modules["socket.serial"] = { | 79 | modules["socket.serial"] = { |
82 | sources = { "src/buffer.c", "src/auxiliar.c", "src/options.c", "src/timeout.c", | 80 | sources = { "src/buffer.c", "src/auxiliar.c", "src/options.c", "src/timeout.c", "src/io.c", "src/usocket.c", "src/serial.c" }, |
83 | "src/io.c", "src/usocket.c", "src/serial.c" }, | ||
84 | defines = defines[plat], | 81 | defines = defines[plat], |
85 | incdir = "/src" | 82 | incdir = "/src" |
86 | } | 83 | } |