Attempt to fix schroot build on Centos 7.
authorCarl Hetherington <cth@carlh.net>
Thu, 16 Oct 2014 09:39:19 +0000 (10:39 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 16 Oct 2014 09:39:19 +0000 (10:39 +0100)
wscript

diff --git a/wscript b/wscript
index 09066583a40c71def4a0fe7d13b9b7e845d2c585..d9d410ae27c37585b380d5f99e27f24c9c6f6bbf 100644 (file)
--- a/wscript
+++ b/wscript
@@ -28,7 +28,8 @@ def static_ffmpeg(conf):
     conf.check_cfg(package='libavfilter', args='--cflags', uselib_store='AVFILTER', mandatory=True)
     conf.env.STLIB_AVFILTER = ['avfilter', 'swresample']
     conf.check_cfg(package='libavcodec', args='--cflags', uselib_store='AVCODEC', mandatory=True)
-    conf.env.STLIB_AVCODEC = ['avcodec']
+    # lzma link is needed by Centos 7, at least
+    conf.env.STLIB_AVCODEC = ['avcodec', 'lzma']
     conf.env.LIB_AVCODEC = ['z']
     conf.check_cfg(package='libavutil', args='--cflags', uselib_store='AVUTIL', mandatory=True)
     conf.env.STLIB_AVUTIL = ['avutil']