summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-10-12 22:44:44 +0100
committerCarl Hetherington <cth@carlh.net>2018-10-12 23:20:18 +0100
commit119db8b6f9b8d0bd69d86403d84b4e60aeb86f44 (patch)
tree5a884d034e9513fb09995c8170b9f4b43f605b61 /wscript
parent1e517fcc4eb35f09b7f02f6843be361a62d20ed9 (diff)
Build fixes.
Diffstat (limited to 'wscript')
-rw-r--r--wscript5
1 files changed, 4 insertions, 1 deletions
diff --git a/wscript b/wscript
index f7bfea42f..76aefd277 100644
--- a/wscript
+++ b/wscript
@@ -337,6 +337,9 @@ def configure(conf):
# nettle
conf.check_cfg(package="nettle", args='--cflags --libs', uselib_store='NETTLE', mandatory=True)
+ # libpng
+ conf.check_cfg(package='libpng', args='--cflags --libs', uselib_store='PNG', mandatory=True)
+
# FFmpeg
if conf.options.static_ffmpeg:
names = ['avformat', 'avfilter', 'avcodec', 'avutil', 'swscale', 'postproc', 'swresample']
@@ -417,7 +420,7 @@ def configure(conf):
mandatory=False)
# Hack: the previous two check_cxx calls end up copying their (necessary) cxxflags
- # to these variables. We don't want to use these for the actual build, so clearn them out.
+ # to these variables. We don't want to use these for the actual build, so clean them out.
conf.env['CXXFLAGS_AVCODEC'] = []
conf.env['CXXFLAGS_AVUTIL'] = []