cpr: support Ubuntu 20.04 (#3263)

pull/3265/head
Darcy Shen 10 months ago committed by GitHub
parent 5907e52570
commit 9711c36a6c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      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")

Loading…
Cancel
Save