mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00:00
package/libarchive: add zstd optional dependency
zstd is available since version 3.3.3 and
26838cf5c1
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
9a514c72cd
commit
4bcc344464
@ -111,6 +111,13 @@ else
|
|||||||
LIBARCHIVE_CONF_OPTS += --without-zlib
|
LIBARCHIVE_CONF_OPTS += --without-zlib
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_ZSTD),y)
|
||||||
|
LIBARCHIVE_CONF_OPTS += --with-zstd
|
||||||
|
LIBARCHIVE_DEPENDENCIES += zstd
|
||||||
|
else
|
||||||
|
LIBARCHIVE_CONF_OPTS += --without-zstd
|
||||||
|
endif
|
||||||
|
|
||||||
# libarchive requires LZMA with thread support in the toolchain
|
# libarchive requires LZMA with thread support in the toolchain
|
||||||
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS)$(BR2_PACKAGE_XZ),yy)
|
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS)$(BR2_PACKAGE_XZ),yy)
|
||||||
LIBARCHIVE_DEPENDENCIES += xz
|
LIBARCHIVE_DEPENDENCIES += xz
|
||||||
@ -143,7 +150,8 @@ HOST_LIBARCHIVE_CONF_OPTS = \
|
|||||||
--without-mbedtls \
|
--without-mbedtls \
|
||||||
--without-nettle \
|
--without-nettle \
|
||||||
--without-openssl \
|
--without-openssl \
|
||||||
--without-lzma
|
--without-lzma \
|
||||||
|
--without-zstd
|
||||||
|
|
||||||
$(eval $(autotools-package))
|
$(eval $(autotools-package))
|
||||||
$(eval $(host-autotools-package))
|
$(eval $(host-autotools-package))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user