[Buildroot] [PATCH] libarchive: add conditional dependency on zlib

Peter Korsgaard jacmet at uclibc.org
Fri Oct 23 07:37:47 UTC 2009


>>>>> "Sven" == Sven Neumann <s.neumann at raumfeld.com> writes:

 Sven> If zlib is selected, then it should be built before libarchive so that
 Sven> libarchive picks up the headers and includes support for zlib
 Sven> compression.

 Sven> Signed-off-by: Sven Neumann <s.neumann at raumfeld.com>
 Sven> ---
 Sven>  package/libarchive/libarchive.mk |    3 +++
 Sven>  1 files changed, 3 insertions(+), 0 deletions(-)

 Sven> diff --git a/package/libarchive/libarchive.mk b/package/libarchive/libarchive.mk
 Sven> index 32f68f7..6a2706f 100644
 Sven> --- a/package/libarchive/libarchive.mk
 Sven> +++ b/package/libarchive/libarchive.mk
 Sven> @@ -10,6 +10,9 @@ LIBARCHIVE_LIBTOOL_PATCH = NO
 Sven>  LIBARCHIVE_INSTALL_STAGING = YES
 Sven>  LIBARCHIVE_INSTALL_TARGET = YES
 
 Sven> +ifeq ($(BR2_PACKAGE_ZLIB),y)
 Sven> +LIBARCHIVE_DEPENDENCIES = zlib
 Sven> +

Where's the endif?


-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list