[Buildroot] [PATCH 2/2] package/lxc: add liburing optional dependency
Fabrice Fontaine
fontaine.fabrice at gmail.com
Tue Jan 4 18:11:07 UTC 2022
liburing is an optional dependency (enabed by default) since version
4.0.11 and
https://github.com/lxc/lxc/commit/b1f9aee5c466b5a6d88582375ea15971d846d18b
Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
---
package/lxc/lxc.mk | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/package/lxc/lxc.mk b/package/lxc/lxc.mk
index 4d63fc14cb..08f64bcec7 100644
--- a/package/lxc/lxc.mk
+++ b/package/lxc/lxc.mk
@@ -44,6 +44,13 @@ else
LXC_CONF_OPTS += --disable-selinux
endif
+ifeq ($(BR2_PACKAGE_LIBURING),y)
+LXC_CONF_OPTS += --enable-liburing
+LXC_DEPENDENCIES += liburing
+else
+LXC_CONF_OPTS += --disable-liburing
+endif
+
ifeq ($(BR2_PACKAGE_OPENSSL),y)
LXC_CONF_OPTS += --enable-openssl
LXC_DEPENDENCIES += openssl
--
2.34.1
More information about the buildroot
mailing list