[Buildroot] [PATCH] package/imlib2: add zlib dependency
Julien Olivain
ju.o at free.fr
Sat Sep 12 14:09:23 UTC 2026
On 03/09/2026 11:54, yegorslists--- via buildroot wrote:
> From: Yegor Yefremov <yegorslists at googlemail.com>
>
> The demo programs, which have always been built and are still enabled
> by
> default, gained a zlib dependency in imlib2 1.12.3: upstream commit
> f8a451043871 ("imlib2_load: Add crc32 printout") started using zlib's
> crc32() in imlib2_load, and 31006b425e11 ("imlib2_view: Optionally show
> crc32 of image data") did the same for imlib2_view. Both hardcoded -lz.
>
> Upstream commit b9555030dace ("autofoo: don't hardcode zlib flags"),
> first released in 1.12.4, replaced -lz with $(ZLIB_LIBS) and added an
> unconditional PKG_CHECK_MODULES(ZLIB, zlib) to the demo programs branch
> of configure, turning the previously silent link-time requirement into
> a
> configure failure:
>
> checking for zlib... no
> configure: error: Package requirements (zlib) were not met:
>
> Package 'zlib' not found
>
> As Buildroot went straight from 1.7.3 to 1.12.5 the intermediate state
> was never packaged, but the dependency has in fact been missing since
> the
> crc32 support landed.
>
> Fixes:
> https://autobuild.buildroot.org/results/4e05404c353ef985d74757d0b1ec3eda2cdff523/
>
> Signed-off-by: Yegor Yefremov <yegorslists at googlemail.com>
Applied to master, thanks.
More information about the buildroot
mailing list