Skip to content

Commit

Permalink
asio: add syslinks for mingw
Browse files Browse the repository at this point in the history
  • Loading branch information
Doekin committed Nov 10, 2024
1 parent 44bbf1d commit 5457bd4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/a/asio/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ package("asio")
add_versions("sourceforge:1.20.0", "4cd5cd0ad97e752a4075f02778732a3737b587f5eeefab59cd98dc43b0dcadb3")
add_versions("github:1.20.0", "34a8f07be6f54e3753874d46ecfa9b7ab7051c4e3f67103c52a33dfddaea48e6")

if is_plat("mingw") then
add_syslinks("ws2_32", "bcrypt")
end

on_install("!wasm", function (package)
if os.isdir("asio") then
os.cp("asio/include/asio.hpp", package:installdir("include"))
Expand Down

0 comments on commit 5457bd4

Please sign in to comment.