mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-27 21:26:36 +00: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:
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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user