瀏覽代碼

cpr: support Ubuntu 20.04 (#3263)

Darcy Shen 1 年之前
父節點
當前提交
9711c36a6c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/c/cpr/xmake.lua

+ 1 - 1
packages/c/cpr/xmake.lua

@@ -17,7 +17,7 @@ package("cpr")
     add_configs("ssl", {description = "Enable SSL.", default = false, type = "boolean"})
 
     add_deps("cmake")
-    if is_plat("mingw") then
+    if is_plat("mingw", "linux") then
         add_syslinks("pthread")
     end
     add_links("cpr")