Fix Linux static build.
authorCarl Hetherington <cth@carlh.net>
Sat, 21 Jun 2014 20:56:44 +0000 (21:56 +0100)
committerCarl Hetherington <cth@carlh.net>
Sat, 21 Jun 2014 20:56:44 +0000 (21:56 +0100)
wscript

diff --git a/wscript b/wscript
index 78bcf677622afce8a13347be86b044a8c690f2dd..0f780b0826ae2fa627c8f6b10e7317936b5a1ed6 100644 (file)
--- a/wscript
+++ b/wscript
@@ -33,6 +33,8 @@ def static_ffmpeg(conf):
     conf.env.STLIB_SWSCALE = ['swscale']
     conf.check_cfg(package='libswresample', args='--cflags', uselib_store='SWRESAMPLE', mandatory=True)
     conf.env.STLIB_SWRESAMPLE = ['swresample']
+    conf.check_cfg(package='libpostproc', args='--cflags', uselib_store='POSTPROC', mandatory=True)
+    conf.env.STLIB_POSTPROC = ['postproc']
 
 def dynamic_ffmpeg(conf):
     conf.check_cfg(package='libavformat', args='--cflags --libs', uselib_store='AVFORMAT', mandatory=True)
@@ -41,6 +43,7 @@ def dynamic_ffmpeg(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='libswresample', args='--cflags --libs', uselib_store='SWRESAMPLE', mandatory=True)
+    conf.check_cfg(package='libpostproc', args='--cflags --libs', uselib_store='POSTPROC', mandatory=True)
 
 def static_openjpeg(conf):
     conf.check_cfg(package='libopenjpeg', args='--cflags', atleast_version='1.5.0', uselib_store='OPENJPEG', mandatory=True)