add pthread for ffmpeg

pull/13/head
ruki 6 years ago
parent 2474fdac88
commit 5ad9540e13
No known key found for this signature in database
GPG Key ID: 33341DF9719963FA
  1. 2
      packages/f/ffmpeg/xmake.lua

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

Loading…
Cancel
Save