changeset 37160:bb15cab6c059

Add ZLIB_CONST to make the zlib API const-correct.
author reimar
date Sat, 23 Aug 2014 13:59:32 +0000
parents d4fbf2eb4a04
children 6d654ac9201e
files configure
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sun Aug 17 18:06:56 2014 +0000
+++ b/configure	Sat Aug 23 13:59:32 2014 +0000
@@ -6441,6 +6441,7 @@
 if test "$_zlib" = yes ; then
   def_zlib='#define CONFIG_ZLIB 1'
   extra_ldflags="$extra_ldflags -lz"
+  extra_cflags="$extra_cflags -DZLIB_CONST"
   # necessary for vf_screenshot
   mplayer_encoders="$mplayer_encoders PNG_ENCODER"
 else