package/file: add xz optional dependency
xz is an optional dependency since version 5.38 and
b259a07ea9
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
788a7560cb
commit
7e70be6d29
@ -21,5 +21,12 @@ else
|
||||
FILE_CONF_OPTS += --disable-libseccomp
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_XZ),y)
|
||||
FILE_CONF_OPTS += --enable-xzlib
|
||||
FILE_DEPENDENCIES += xz
|
||||
else
|
||||
FILE_CONF_OPTS += --disable-xzlib
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
$(eval $(host-autotools-package))
|
||||
|
Loading…
Reference in New Issue
Block a user