Browse Source

fix Ws2_32 to ws2_32 (#2171)

xpxz 2 years ago
parent
commit
0460312b10
1 changed files with 2 additions and 2 deletions
  1. 2 2
      packages/b/brynet/xmake.lua

+ 2 - 2
packages/b/brynet/xmake.lua

@@ -8,7 +8,7 @@ package("brynet")
     add_versions("1.0.9", "a264a6aaf3ec9fd5aa4029a8857be813be203ee7b93997b0c1c5c5e2c5f89a2a")
     add_versions("1.0.9", "a264a6aaf3ec9fd5aa4029a8857be813be203ee7b93997b0c1c5c5e2c5f89a2a")
 
 
     if is_plat("windows") then
     if is_plat("windows") then
-        add_syslinks("Ws2_32")
+        add_syslinks("ws2_32")
     end
     end
 
 
     on_install("windows", "linux", "android", "cross", function (package)
     on_install("windows", "linux", "android", "cross", function (package)
@@ -21,4 +21,4 @@ package("brynet")
                 auto service = brynet::net::TcpService::Create();
                 auto service = brynet::net::TcpService::Create();
             }
             }
         ]]}, {configs = {languages = "c++17"}, includes = "brynet/net/TcpService.hpp"}))
         ]]}, {configs = {languages = "c++17"}, includes = "brynet/net/TcpService.hpp"}))
-    end)
+    end)