From dc5ae2c428d1012317653816f5001892574cd3ab Mon Sep 17 00:00:00 2001 From: Sven Neumann Date: Fri, 23 Oct 2009 09:53:12 +0200 Subject: libarchive: add conditional dependency on zlib If zlib is selected, then it should be built before libarchive so that libarchive picks up the headers and includes support for zlib compression. Signed-off-by: Sven Neumann Signed-off-by: Peter Korsgaard --- package/libarchive/libarchive.mk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'package/libarchive') diff --git a/package/libarchive/libarchive.mk b/package/libarchive/libarchive.mk index 32f68f740..efd1656b4 100644 --- a/package/libarchive/libarchive.mk +++ b/package/libarchive/libarchive.mk @@ -10,6 +10,10 @@ LIBARCHIVE_LIBTOOL_PATCH = NO LIBARCHIVE_INSTALL_STAGING = YES LIBARCHIVE_INSTALL_TARGET = YES +ifeq ($(BR2_PACKAGE_ZLIB),y) +LIBARCHIVE_DEPENDENCIES = zlib +endif + LIBARCHIVE_CONF_OPT = \ $(if $(BR2_PACKAGE_LIBARCHIVE_BSDTAR),--enable-bsdtar,--disable-bsdtar) \ $(if $(BR2_PACKAGE_LIBARCHIVE_BSDCPIO),--enable-bsdcpio,--disable-bsdcpio) -- cgit v1.2.3