Browse Source

add pthread for libcurl

ruki 6 năm trước cách đây
mục cha
commit
42b74a3ab4
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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)