Browse Source

add pthread for libcurl

ruki 6 years ago
parent
commit
42b74a3ab4
1 changed files with 2 additions and 0 deletions
  1. 2 0
      packages/l/libcurl/xmake.lua

+ 2 - 0
packages/l/libcurl/xmake.lua

@@ -16,6 +16,8 @@ package("libcurl")
 
     if is_plat("macosx") then
         add_frameworks("Security")
+    elseif is_plat("linux") then
+        add_syslinks("pthread")
     end
  
     on_install("windows", function (package)