aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2014-07-30 05:10:18 -0700
committerDiego Biurrun <diego@biurrun.de>2014-07-30 11:55:40 -0700
commita0ce85ac7de098d3f9b53b51b77a09bad700a011 (patch)
treee1d0eb68bc0d5b241f2aca237581946372239f7c /configure
parenta8d803a320fb08b3ad5db4fffc79abd401206905 (diff)
downloadffmpeg-a0ce85ac7de098d3f9b53b51b77a09bad700a011.tar.gz
configure: Globally add ZLIB_CONST to CPPFLAGS if zlib is enabled
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index 800d6fa830..03742f0c31 100755
--- a/configure
+++ b/configure
@@ -4442,6 +4442,8 @@ for thread in $THREADS_LIST; do
fi
done
+enabled zlib && add_cppflags -DZLIB_CONST
+
# conditional library dependencies, in linking order
enabled movie_filter && prepend avfilter_deps "avformat avcodec"
enabled resample_filter && prepend avfilter_deps "avresample"