asio: add syslinks for mingw (#5719)

autoupdate-astc-encoder-5.0.0
Doekin 3 weeks ago committed by GitHub
parent a52c4b37bd
commit be0adf1973
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      packages/a/asio/xmake.lua

@ -16,6 +16,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"))

Loading…
Cancel
Save