Commit a72baecd authored by Jan Gerber's avatar Jan Gerber
Browse files

only depend on libswresample for local branch

libav does not have libswresample so its not in ubuntu.
parent 57d515be
......@@ -152,10 +152,10 @@ if not env.GetOption('clean'):
"libavcodec >= 52.30.0",
"libpostproc",
"libswscale",
"libswresample",
"libavutil",
]
if os.path.exists("./ffmpeg"):
FFMPEG_LIBS.append('libswresample')
pkg_path = list(set(map(os.path.dirname, glob('./ffmpeg/*/*.pc'))))
pkg_path.append(os.environ.get('PKG_CONFIG_PATH', ''))
os.environ['PKG_CONFIG_PATH'] = ':'.join(pkg_path)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment