From 5ad9540e139bbaad37b29f4662dc2f96165ff2c1 Mon Sep 17 00:00:00 2001 From: ruki Date: Thu, 28 Mar 2019 23:03:28 +0800 Subject: [PATCH] add pthread for ffmpeg --- packages/f/ffmpeg/xmake.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/f/ffmpeg/xmake.lua b/packages/f/ffmpeg/xmake.lua index e0d2eda60..654f791fc 100644 --- a/packages/f/ffmpeg/xmake.lua +++ b/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