Browse Source

improve x265

ruki 6 years ago
parent
commit
a28b016921
1 changed files with 2 additions and 0 deletions
  1. 2 0
      packages/x/x265/xmake.lua

+ 2 - 0
packages/x/x265/xmake.lua

@@ -11,6 +11,8 @@ package("x265")
 
 
     if is_plat("macosx") then
     if is_plat("macosx") then
         add_syslinks("c++")
         add_syslinks("c++")
+    elseif is_plat("linux") then
+        add_syslinks("pthread", "dl")
     end
     end
  
  
     on_install("linux", "macosx", function (package)
     on_install("linux", "macosx", function (package)