summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2017-01-29 23:51:58 +0000
committerCarl Hetherington <cth@carlh.net>2017-01-29 23:51:58 +0000
commitd1711d4d91322c8559a1adbe53434a25b17b4f7e (patch)
tree9e2458d3eccbede9f1ac06d9f7d3289375efb2ca /wscript
parent310f2c805524e252f514b03f8e52fe05b7016a0a (diff)
Missing uselib.
Diffstat (limited to 'wscript')
-rw-r--r--wscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/wscript b/wscript
index e2a8fe232..053f32ff6 100644
--- a/wscript
+++ b/wscript
@@ -340,7 +340,7 @@ def configure(conf):
# FFmpeg
if conf.options.static_ffmpeg:
- names = ['avformat', 'avfilter', 'avcodec', 'avutil', 'swscale', 'postproc']
+ names = ['avformat', 'avfilter', 'avcodec', 'avutil', 'swscale', 'postproc', 'swresample']
for name in names:
static = subprocess.Popen(shlex.split('pkg-config --static --libs lib%s' % name), stdout=subprocess.PIPE).communicate()[0].decode('utf-8')
libs = []
@@ -369,6 +369,7 @@ def configure(conf):
conf.check_cfg(package='libavutil', args='--cflags --libs', uselib_store='AVUTIL', mandatory=True)
conf.check_cfg(package='libswscale', args='--cflags --libs', uselib_store='SWSCALE', mandatory=True)
conf.check_cfg(package='libpostproc', args='--cflags --libs', uselib_store='POSTPROC', mandatory=True)
+ conf.check_cfg(package='libswresample', args='--cflags --libs', uselib_store='SWRESAMPLE', mandatory=True)
# Check to see if we have our version of FFmpeg that allows us to get at EBUR128 results
conf.check_cxx(fragment="""