libcurl: Link to ws2_32 on Windows (#123)

pull/126/head
Jérôme Leclercq 4 years ago committed by GitHub
parent 228d09c04a
commit 0ae67ebdbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      packages/l/libcurl/xmake.lua

@ -21,6 +21,8 @@ package("libcurl")
add_frameworks("Security", "CoreFoundation")
elseif is_plat("linux") then
add_syslinks("pthread")
elseif is_plat("windows", "mingw") then
add_syslinks("ws2_32")
end
on_load("windows", function (package)

Loading…
Cancel
Save