mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-08 00:20:38 -09:00
Building this defconfig BR2_x86_64=y BR2_TOOLCHAIN_EXTERNAL=y BR2_PACKAGE_NEON=y BR2_PACKAGE_NEON_ZLIB=y does not build libneon with zlib support, quoting configure log: configure: zlib not enabled although the configure parameter --with-zlib=/home/bernd/buildroot/output/host/x86_64-buildroot-linux-gnu/sysroot was used. The reason is the addition of "=$(STAGING_DIR)" to --with-zlib which was added to buildroot in 2008 with commitcc6562ff83. The upstream code, which expects only "yes", all other values lead to the else-condition, is unchanged since 2004: https://github.com/notroj/neon/blame/0.37.1/macros/neon.m4#L478 so a backport of this patch to LTS branches should be considered. With this patch the configure log shows: checking for zlib.h... yes checking for inflate in -lz... yes configure: zlib support enabled, using -lz Signed-off-by: Bernd Kuhls <bernd@kuhls.net> Signed-off-by: Julien Olivain <ju.o@free.fr> (cherry picked from commit5e917c3a81) Signed-off-by: Thomas Perale <thomas.perale@mind.be>