[Buildroot] [PATCH] libarchive: fix build error when linking with lzma

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu Jul 21 13:42:25 UTC 2016


Hello,

On Thu, 21 Jul 2016 09:20:56 -0300, Sergio Prado wrote:

> -ifeq ($(BR2_PACKAGE_XZ),y)
> +# libarchive requires LZMA with thread support in the toolchain
> +ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),$(BR2_PACKAGE_XZ),yy)

This condition will always evaluate to false, so it's not good. Indeed:

 ,y
 y,
 y,y
 ,

will never be equal to yy

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list