mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
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 <s.neumann@raumfeld.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
committed by
Peter Korsgaard
parent
ab17f40395
commit
dc5ae2c428
@@ -10,6 +10,10 @@ LIBARCHIVE_LIBTOOL_PATCH = NO
|
|||||||
LIBARCHIVE_INSTALL_STAGING = YES
|
LIBARCHIVE_INSTALL_STAGING = YES
|
||||||
LIBARCHIVE_INSTALL_TARGET = YES
|
LIBARCHIVE_INSTALL_TARGET = YES
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
||||||
|
LIBARCHIVE_DEPENDENCIES = zlib
|
||||||
|
endif
|
||||||
|
|
||||||
LIBARCHIVE_CONF_OPT = \
|
LIBARCHIVE_CONF_OPT = \
|
||||||
$(if $(BR2_PACKAGE_LIBARCHIVE_BSDTAR),--enable-bsdtar,--disable-bsdtar) \
|
$(if $(BR2_PACKAGE_LIBARCHIVE_BSDTAR),--enable-bsdtar,--disable-bsdtar) \
|
||||||
$(if $(BR2_PACKAGE_LIBARCHIVE_BSDCPIO),--enable-bsdcpio,--disable-bsdcpio)
|
$(if $(BR2_PACKAGE_LIBARCHIVE_BSDCPIO),--enable-bsdcpio,--disable-bsdcpio)
|
||||||
|
|||||||
Reference in New Issue
Block a user