Skip to content

Commit

Permalink
add library mentioned in capnproto/capnproto#1833 capnproto libraries…
Browse files Browse the repository at this point in the history
… as syslinks
  • Loading branch information
chriku committed Jul 29, 2024
1 parent bb2aa9f commit 3ef3f90
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/c/capnproto/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ package("capnproto")
import("package.tools.cmake").install(package, configs)
package:addenv("PATH", "bin")
end)
on_install("windows", "mingw@windows,msys", function (package)
package:add_syslinks("ws2_32")
end)

on_test(function (package)
assert(package:has_cxxtypes("capnp::MallocMessageBuilder", {configs = {languages = "c++14"}, includes = "capnp/message.h"}))
Expand Down

0 comments on commit 3ef3f90

Please sign in to comment.