mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-08 12:44:10 -09:00
package/neon: fix build with zlib
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>
This commit is contained in:
parent
295e92b1cb
commit
08cd573f0c
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ NEON_DEPENDENCIES = host-pkgconf $(TARGET_NLS_DEPENDENCIES)
|
|||
NEON_CONF_ENV = ne_cv_libsfor_bindtextdomain=$(TARGET_NLS_LIBS)
|
||||
|
||||
ifeq ($(BR2_PACKAGE_NEON_ZLIB),y)
|
||||
NEON_CONF_OPTS += --with-zlib=$(STAGING_DIR)
|
||||
NEON_CONF_OPTS += --with-zlib
|
||||
NEON_DEPENDENCIES += zlib
|
||||
else
|
||||
NEON_CONF_OPTS += --without-zlib
|
||||
|
|
|
|||
Loading…
Reference in a new issue