[FFmpeg-devel] [PATCH 1/5] configure: remove build-time check for gzip support in zlib
Ramiro Polla
ramiro.polla at gmail.com
Tue May 27 04:52:04 EEST 2025
On Tue, May 27, 2025 at 3:44 AM softworkz .
<softworkz-at-hotmail.com at ffmpeg.org> wrote:
> > -----Original Message-----
> > From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of Ramiro Polla
> > Sent: Dienstag, 27. Mai 2025 03:33
> > To: ffmpeg-devel at ffmpeg.org
> > Subject: [FFmpeg-devel] [PATCH 1/5] configure: remove build-time check for
> > gzip support in zlib
> >
> > We currently test at build-time whether zlib supports decoding gzip.
> > This is not needed for the build to succeed, since only the gzip
> > command is necessary to perform compression at build-time.
> >
> > Presumably this check will help the user by not enabling compression at
> > build-time if their system won't be able to decompress at runtime.
> >
> > But there are no guarantees that the system where the build is made is
> > the same system where it will run. The build system could support gzip
> > in zlib, but not the system at runtime, or the other way around.
>
> What about static builds? Doesn't the check test exactly the zlib lib
> that will go into the binary?
Perhaps, but it's an unnecessary test in any case. test_exec should
only be used for very important tests.
Ramiro
More information about the ffmpeg-devel
mailing list