Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] package/file: add xz optional dependency
@ 2020-01-31 18:05 Fabrice Fontaine
  2020-01-31 18:05 ` [Buildroot] [PATCH 2/2] package/file: add bzip2 " Fabrice Fontaine
  2020-02-01  9:30 ` [Buildroot] [PATCH 1/2] package/file: add xz " Thomas Petazzoni
  0 siblings, 2 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2020-01-31 18:05 UTC (permalink / raw)
  To: buildroot

xz is an optional dependency since version 5.38 and
https://github.com/file/file/commit/b259a07ea95827f565faa20f0316e5b2704064f7

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/file/file.mk | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/package/file/file.mk b/package/file/file.mk
index 3ae7c85976..8d0968e6b2 100644
--- a/package/file/file.mk
+++ b/package/file/file.mk
@@ -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))
-- 
2.24.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-02-01  9:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-31 18:05 [Buildroot] [PATCH 1/2] package/file: add xz optional dependency Fabrice Fontaine
2020-01-31 18:05 ` [Buildroot] [PATCH 2/2] package/file: add bzip2 " Fabrice Fontaine
2020-02-01  9:30 ` [Buildroot] [PATCH 1/2] package/file: add xz " Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox