Skip to content

Commit

Permalink
Rockspec: Add usocket.c using platform ifdefs.
Browse files Browse the repository at this point in the history
  • Loading branch information
MikuAuahDark committed Nov 11, 2023
1 parent 6bd096d commit c44d18b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion luasocket-scm-3.rockspec
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ local function make_plat(plat)
, "src/options.c"
, "src/timeout.c"
, "src/io.c"
, "src/usocket.c"
, "src/unix.c"
, "src/unixdgram.c"
, "src/unixstream.c" },
Expand Down Expand Up @@ -92,6 +91,7 @@ local function make_plat(plat)
or plat == "haiku"
then
modules["socket.core"].sources[#modules["socket.core"].sources+1] = "src/usocket.c"
modules["socket.unix"].sources[#modules["socket.unix"].sources+1] = "src/usocket.c"
if plat == "haiku" then
modules["socket.core"].libraries = {"network"}
end
Expand Down

0 comments on commit c44d18b

Please sign in to comment.