Sfoglia il codice sorgente

add pthread for ffmpeg

ruki 6 anni fa
parent
commit
5ad9540e13
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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