浏览代码

Fix gmssl missing syslink (#2813)

Guyutongxue 1 年之前
父节点
当前提交
73dcc461ca
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/g/gmssl/xmake.lua

+ 1 - 1
packages/g/gmssl/xmake.lua

@@ -13,7 +13,7 @@ package("gmssl")
     end
     end
 
 
     if is_plat("windows", "mingw") then
     if is_plat("windows", "mingw") then
-        add_syslinks("ws2_32")
+        add_syslinks("ws2_32", "advapi32")
     elseif is_plat("linux") then
     elseif is_plat("linux") then
         add_syslinks("dl")
         add_syslinks("dl")
     elseif is_plat("macosx") then
     elseif is_plat("macosx") then