Parcourir la source

cpr: support Ubuntu 20.04 (#3263)

Darcy Shen il y a 1 an
Parent
commit
9711c36a6c
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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")