mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 14:16:31 +00:00
package/libarchive: make optional zstd dependency explicit
Otherwise, the presence of zstd support in libarchive will depend on build order. Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
170d06cfc6
commit
96dc6701af
@ -112,6 +112,13 @@ else
|
|||||||
LIBARCHIVE_CONF_OPTS += --without-lzma
|
LIBARCHIVE_CONF_OPTS += --without-lzma
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_ZSTD),y)
|
||||||
|
LIBARCHIVE_DEPENDENCIES += zstd
|
||||||
|
LIBARCHIVE_CONF_OPTS += --with-zstd
|
||||||
|
else
|
||||||
|
LIBARCHIVE_CONF_OPTS += --without-zstd
|
||||||
|
endif
|
||||||
|
|
||||||
# The only user of host-libarchive needs zlib support
|
# The only user of host-libarchive needs zlib support
|
||||||
HOST_LIBARCHIVE_DEPENDENCIES = host-zlib
|
HOST_LIBARCHIVE_DEPENDENCIES = host-zlib
|
||||||
HOST_LIBARCHIVE_CONF_OPTS = \
|
HOST_LIBARCHIVE_CONF_OPTS = \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user