[Buildroot] [PATCH 1/1] package/qt5/qt5base: add zstd optional dependency
Fabrice Fontaine
fontaine.fabrice at gmail.com
Sun Nov 14 10:15:54 UTC 2021
zstd is an optional dependency which is enabled by default since version
5.13.0 and
https://github.com/qt/qtbase/commit/f25bc30d8d9d13fffd34213dfbf5e7373a18222a
Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
---
package/qt5/qt5base/qt5base.mk | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/package/qt5/qt5base/qt5base.mk b/package/qt5/qt5base/qt5base.mk
index 9da3de468a..b04d710d78 100644
--- a/package/qt5/qt5base/qt5base.mk
+++ b/package/qt5/qt5base/qt5base.mk
@@ -116,6 +116,13 @@ else
QT5BASE_CONFIGURE_OPTS += -no-cups
endif
+ifeq ($(BR2_PACKAGE_ZSTD),y)
+QT5BASE_DEPENDENCIES += zstd
+QT5BASE_CONFIGURE_OPTS += -zstd
+else
+QT5BASE_CONFIGURE_OPTS += -no-zstd
+endif
+
# Qt5 SQL Plugins
ifeq ($(BR2_PACKAGE_QT5BASE_SQL),y)
ifeq ($(BR2_PACKAGE_QT5BASE_MYSQL),y)
--
2.33.0
More information about the buildroot
mailing list