---
This is an alternative to adding a ZLIB_CONST define everywhere zlib.h
gets #included.
Ideally this would be done as part of the zlib check, but doing that
completely cleanly requires restructuring some of the utility functions,
which I cannot be bothered to do right now...
configure | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configure b/configure
index 38ba55e..1cd83d4 100755
--- a/configure
+++ b/configure
@@ -4443,6 +4443,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"
--
1.8.3.2
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel