2
0
Эх сурвалжийг харах

libcurl: Link to ws2_32 on Windows (#123)

Jérôme Leclercq 4 жил өмнө
parent
commit
0ae67ebdbd

+ 2 - 0
packages/l/libcurl/xmake.lua

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