瀏覽代碼

add pthread for ffmpeg

ruki 6 年之前
父節點
當前提交
5ad9540e13
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      packages/f/ffmpeg/xmake.lua

+ 2 - 0
packages/f/ffmpeg/xmake.lua

@@ -22,6 +22,8 @@ package("ffmpeg")
     add_links("avfilter", "avdevice", "avformat", "avcodec", "swscale", "swresample", "avutil")
     if is_plat("macosx") then
         add_frameworks("CoreFoundation", "Foundation", "CoreVideo", "CoreMedia", "AudioToolbox", "VideoToolbox", "Security")
+    elseif is_plat("linux") then
+        add_syslinks("pthread")
     end
 
     if is_plat("macosx", "linux") then